#B064F6#B064F6

#B064F6 is a light, highly saturated violet. Relative luminance 0.250; OKLCH L 65.4% C 0.213 H 305.2°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#B064F6
RGBrgb(176, 100, 246)
HSLhsl(271, 89%, 68%)
HSVhsv(271, 59%, 96%)
CMYKcmyk(28.5%, 59.3%, 0%, 3.5%)
CIE-LABlab(57.07, 56.87, -61.66)
CIE-LCHlch(57.07, 83.88, 312.68°)
OKLaboklab(65.43% 0.1231 -0.1743)
OKLCHoklch(65.43% 0.213 305.2)
XYZxyz(39.0926, 24.9985, 89.9366)
Luminance0.2500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B064F6 #AAF664
analogous
#6764F6 #B064F6 #F664F3
triadic
#B064F6 #F6B064 #64F6B0
tetradic
#B064F6 #F66764 #AAF664 #64F3F6
square
#B064F6 #F66764 #AAF664 #64F3F6
split-complementary
#B064F6 #F3F664 #64F667
monochromatic
#740CD3 #932AF3 #B064F6 #CD9EF9 #EBD8FD

Accessibility & contrast

On white

3.50
#B064F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#B064F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B064F6
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B064F6#FFFFFF#000000##000000
##B064F61.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C87FB
Deuteranopia (green-blind)
#4589F3
Tritanopia (blue-blind)
#A481A4
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b064f6;
/* rgb */ color: rgb(176, 100, 246);
/* oklch */ color: oklch(65.4% 0.213 305.2);
Tailwind
colors: {
  custom: {
    50: '#cc93fa',
    500: '#b064f6',
    950: '#000000',
  },
}
SCSS
$custom: #b064f6;
$custom-light: #cc93fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b064f6",
  "rgb": {
    "r": 176,
    "g": 100,
    "b": 246
  },
  "hsl": {
    "h": 271.233,
    "s": 89.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.6543,
    "c": 0.21339,
    "h": 305.2
  },
  "luminance": 0.24998
}

Semantic roles & 50–950 ramp

primary
#B064F6
secondary
#DAF1C4
accent
#E6006E
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #B064F6

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B064F6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva