#CB84FC#CB84FC

#CB84FC is a light, vivid violet. Relative luminance 0.362; OKLCH L 73.3% C 0.180 H 310.0°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#CB84FC
RGBrgb(203, 132, 252)
HSLhsl(276, 95%, 75%)
HSVhsv(276, 48%, 99%)
CMYKcmyk(19.4%, 47.6%, 0%, 1.2%)
CIE-LABlab(66.69, 48.39, -49.48)
CIE-LCHlch(66.69, 69.21, 314.36°)
OKLaboklab(73.29% 0.1157 -0.1381)
OKLCHoklch(73.29% 0.18 310)
XYZxyz(50.4473, 36.2281, 96.4118)
Luminance0.3623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB84FC #B5FC84
analogous
#8F84FC #CB84FC #FC84F1
triadic
#CB84FC #FCCB84 #84FCCB
tetradic
#CB84FC #FC8F84 #B5FC84 #84F1FC
square
#CB84FC #FC8F84 #B5FC84 #84F1FC
split-complementary
#CB84FC #F1FC84 #84FC8F
monochromatic
#980DF9 #B248FB #CB84FC #E4C0FD #F2E1FE

Accessibility & contrast

On white

2.55
#CB84FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#CB84FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB84FC
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB84FC#FFFFFF#000000##000000
##CB84FC1.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#679FFF
Deuteranopia (green-blind)
#7AA3F9
Tritanopia (blue-blind)
#C597B4
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cb84fc;
/* rgb */ color: rgb(203, 132, 252);
/* oklch */ color: oklch(73.3% 0.180 310.0);
Tailwind
colors: {
  custom: {
    50: '#dda9fe',
    500: '#cb84fc',
    950: '#000000',
  },
}
SCSS
$custom: #cb84fc;
$custom-light: #dda9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cb84fc",
  "rgb": {
    "r": 203,
    "g": 132,
    "b": 252
  },
  "hsl": {
    "h": 275.5,
    "s": 95.238,
    "l": 75.294
  },
  "oklch": {
    "l": 0.73285,
    "c": 0.18011,
    "h": 310
  },
  "luminance": 0.36227
}

Semantic roles & 50–950 ramp

primary
#CB84FC
secondary
#E2F6D5
accent
#E6005E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CB84FC

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

Preview Lab → · Contrast checker → · Palette generator →

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