#B064EB#B064EB

#B064EB is a light, highly saturated violet. Relative luminance 0.243; OKLCH L 64.8% C 0.201 H 307.7°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#B064EB
RGBrgb(176, 100, 235)
HSLhsl(274, 77%, 66%)
HSVhsv(274, 57%, 92%)
CMYKcmyk(25.1%, 57.4%, 0%, 7.8%)
CIE-LABlab(56.43, 54.37, -56.57)
CIE-LCHlch(56.43, 78.46, 313.87°)
OKLaboklab(64.75% 0.1232 -0.1593)
OKLCHoklch(64.75% 0.201 307.7)
XYZxyz(37.4540, 24.3431, 81.3067)
Luminance0.2434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B064EB #9FEB64
analogous
#6C64EB #B064EB #EB64E2
triadic
#B064EB #EBB064 #64EBB0
tetradic
#B064EB #EB6C64 #9FEB64 #64E2EB
square
#B064EB #EB6C64 #9FEB64 #64E2EB
split-complementary
#B064EB #E2EB64 #64EB6C
monochromatic
#7518BC #942EE4 #B064EB #CC9AF2 #E7D0F9

Accessibility & contrast

On white

3.58
#B064EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#B064EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B064EB
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B064EB#FFFFFF#000000##000000
##B064EB1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3084EF
Deuteranopia (green-blind)
#5088E8
Tritanopia (blue-blind)
#A77E9E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b064eb;
/* rgb */ color: rgb(176, 100, 235);
/* oklch */ color: oklch(64.8% 0.201 307.7);
Tailwind
colors: {
  custom: {
    50: '#cb93f2',
    500: '#b064eb',
    950: '#000000',
  },
}
SCSS
$custom: #b064eb;
$custom-light: #cb93f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b064eb",
  "rgb": {
    "r": 176,
    "g": 100,
    "b": 235
  },
  "hsl": {
    "h": 273.778,
    "s": 77.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64753,
    "c": 0.2014,
    "h": 307.7
  },
  "luminance": 0.24343
}

Semantic roles & 50–950 ramp

primary
#B064EB
secondary
#D3ECBF
accent
#D90C66
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B064EB

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

Preview Lab → · Contrast checker → · Palette generator →

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