#CB84F9#CB84F9

#CB84F9 is a light, vivid violet. Relative luminance 0.360; OKLCH L 73.1% C 0.177 H 310.7°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#CB84F9
RGBrgb(203, 132, 249)
HSLhsl(276, 91%, 75%)
HSVhsv(276, 47%, 98%)
CMYKcmyk(18.5%, 47%, 0%, 2.4%)
CIE-LABlab(66.55, 47.74, -48.06)
CIE-LCHlch(66.55, 67.74, 314.81°)
OKLaboklab(73.13% 0.1153 -0.134)
OKLCHoklch(73.13% 0.177 310.7)
XYZxyz(49.9756, 36.0395, 93.9278)
Luminance0.3604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB84F9 #B2F984
analogous
#9084F9 #CB84F9 #F984ED
triadic
#CB84F9 #F9CB84 #84F9CB
tetradic
#CB84F9 #F99084 #B2F984 #84EDF9
square
#CB84F9 #F99084 #B2F984 #84EDF9
split-complementary
#CB84F9 #EDF984 #84F990
monochromatic
#9A0FF3 #B24AF6 #CB84F9 #E4BEFC #F3E2FE

Accessibility & contrast

On white

2.56
#CB84F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#CB84F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB84F9
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB84F9#FFFFFF#000000##000000
##CB84F91.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#689EFD
Deuteranopia (green-blind)
#7CA3F6
Tritanopia (blue-blind)
#C697B3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cb84f9;
/* rgb */ color: rgb(203, 132, 249);
/* oklch */ color: oklch(73.1% 0.177 310.7);
Tailwind
colors: {
  custom: {
    50: '#dda9fc',
    500: '#cb84f9',
    950: '#000000',
  },
}
SCSS
$custom: #cb84f9;
$custom-light: #dda9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb84f9",
  "rgb": {
    "r": 203,
    "g": 132,
    "b": 249
  },
  "hsl": {
    "h": 276.41,
    "s": 90.698,
    "l": 74.706
  },
  "oklch": {
    "l": 0.73131,
    "c": 0.17673,
    "h": 310.7
  },
  "luminance": 0.36039
}

Semantic roles & 50–950 ramp

primary
#CB84F9
secondary
#E2F6D5
accent
#E6005A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CB84F9

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

Preview Lab → · Contrast checker → · Palette generator →

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