#B064E2#B064E2

#B064E2 is a light, vivid violet. Relative luminance 0.238; OKLCH L 64.2% C 0.192 H 309.9°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#B064E2
RGBrgb(176, 100, 226)
HSLhsl(276, 68%, 64%)
HSVhsv(276, 56%, 89%)
CMYKcmyk(22.1%, 55.8%, 0%, 11.4%)
CIE-LABlab(55.92, 52.37, -52.33)
CIE-LCHlch(55.92, 74.04, 315.02°)
OKLaboklab(64.22% 0.1229 -0.147)
OKLCHoklch(64.22% 0.192 309.9)
XYZxyz(36.1865, 23.8361, 74.6313)
Luminance0.2384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B064E2 #96E264
analogous
#7164E2 #B064E2 #E264D5
triadic
#B064E2 #E2B064 #64E2B0
tetradic
#B064E2 #E27164 #96E264 #64D5E2
square
#B064E2 #E27164 #96E264 #64D5E2
split-complementary
#B064E2 #D5E264 #64E271
monochromatic
#7420AC #9630D8 #B064E2 #CA98EC #E5CBF5

Accessibility & contrast

On white

3.64
#B064E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#B064E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B064E2
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B064E2#FFFFFF#000000##000000
##B064E21.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B83E6
Deuteranopia (green-blind)
#5787DF
Tritanopia (blue-blind)
#A97B9A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b064e2;
/* rgb */ color: rgb(176, 100, 226);
/* oklch */ color: oklch(64.2% 0.192 309.9);
Tailwind
colors: {
  custom: {
    50: '#cb93ec',
    500: '#b064e2',
    950: '#000000',
  },
}
SCSS
$custom: #b064e2;
$custom-light: #cb93ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b064e2",
  "rgb": {
    "r": 176,
    "g": 100,
    "b": 226
  },
  "hsl": {
    "h": 276.19,
    "s": 68.478,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64219,
    "c": 0.19159,
    "h": 309.9
  },
  "luminance": 0.23835
}

Semantic roles & 50–950 ramp

primary
#B064E2
secondary
#CCE7BB
accent
#D0155F
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B064E2

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

Preview Lab → · Contrast checker → · Palette generator →

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