#CB84FD#CB84FD

#CB84FD is a light, vivid violet. Relative luminance 0.363; OKLCH L 73.3% C 0.181 H 309.7°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#CB84FD
RGBrgb(203, 132, 253)
HSLhsl(275, 97%, 75%)
HSVhsv(275, 48%, 99%)
CMYKcmyk(19.8%, 47.8%, 0%, 0.8%)
CIE-LABlab(66.74, 48.60, -49.95)
CIE-LCHlch(66.74, 69.69, 314.22°)
OKLaboklab(73.34% 0.1158 -0.1394)
OKLCHoklch(73.34% 0.181 309.7)
XYZxyz(50.6062, 36.2917, 97.2485)
Luminance0.3629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB84FD #B6FD84
analogous
#8E84FD #CB84FD #FD84F2
triadic
#CB84FD #FDCB84 #84FDCB
tetradic
#CB84FD #FD8E84 #B6FD84 #84F2FD
square
#CB84FD #FD8E84 #B6FD84 #84F2FD
split-complementary
#CB84FD #F2FD84 #84FD8E
monochromatic
#980CFB #B248FC #CB84FD #E4C0FE #F2E1FF

Accessibility & contrast

On white

2.54
#CB84FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#CB84FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB84FD
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB84FD#FFFFFF#000000##000000
##CB84FD1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#669FFF
Deuteranopia (green-blind)
#7AA4FA
Tritanopia (blue-blind)
#C598B5
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cb84fd;
/* rgb */ color: rgb(203, 132, 253);
/* oklch */ color: oklch(73.3% 0.181 309.7);
Tailwind
colors: {
  custom: {
    50: '#dda9fe',
    500: '#cb84fd',
    950: '#000000',
  },
}
SCSS
$custom: #cb84fd;
$custom-light: #dda9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cb84fd",
  "rgb": {
    "r": 203,
    "g": 132,
    "b": 253
  },
  "hsl": {
    "h": 275.207,
    "s": 96.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.73337,
    "c": 0.18123,
    "h": 309.7
  },
  "luminance": 0.36291
}

Semantic roles & 50–950 ramp

primary
#CB84FD
secondary
#E3F7D4
accent
#E6005F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CB84FD

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

Preview Lab → · Contrast checker → · Palette generator →

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