#B064F5#B064F5

#B064F5 is a light, highly saturated violet. Relative luminance 0.249; OKLCH L 65.4% C 0.212 H 305.5°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#B064F5
RGBrgb(176, 100, 245)
HSLhsl(271, 88%, 68%)
HSVhsv(271, 59%, 96%)
CMYKcmyk(28.2%, 59.2%, 0%, 3.9%)
CIE-LABlab(57.01, 56.64, -61.20)
CIE-LCHlch(57.01, 83.39, 312.78°)
OKLaboklab(65.37% 0.1231 -0.1729)
OKLCHoklch(65.37% 0.212 305.5)
XYZxyz(38.9395, 24.9373, 89.1305)
Luminance0.2494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B064F5 #A9F564
analogous
#6764F5 #B064F5 #F564F2
triadic
#B064F5 #F5B064 #64F5B0
tetradic
#B064F5 #F56764 #A9F564 #64F2F5
square
#B064F5 #F56764 #A9F564 #64F2F5
split-complementary
#B064F5 #F2F564 #64F567
monochromatic
#740DD1 #932BF1 #B064F5 #CD9DF9 #EBD7FC

Accessibility & contrast

On white

3.51
#B064F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#B064F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B064F5
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B064F5#FFFFFF#000000##000000
##B064F51.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E87FA
Deuteranopia (green-blind)
#4689F2
Tritanopia (blue-blind)
#A481A3
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b064f5;
/* rgb */ color: rgb(176, 100, 245);
/* oklch */ color: oklch(65.4% 0.212 305.5);
Tailwind
colors: {
  custom: {
    50: '#cc93f9',
    500: '#b064f5',
    950: '#000000',
  },
}
SCSS
$custom: #b064f5;
$custom-light: #cc93f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b064f5",
  "rgb": {
    "r": 176,
    "g": 100,
    "b": 245
  },
  "hsl": {
    "h": 271.448,
    "s": 87.879,
    "l": 67.647
  },
  "oklch": {
    "l": 0.65368,
    "c": 0.2123,
    "h": 305.5
  },
  "luminance": 0.24937
}

Semantic roles & 50–950 ramp

primary
#B064F5
secondary
#D9F1C4
accent
#E4016D
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #B064F5

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

Preview Lab → · Contrast checker → · Palette generator →

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