#CB84F7#CB84F7

#CB84F7 is a light, vivid violet. Relative luminance 0.359; OKLCH L 73.0% C 0.174 H 311.2°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#CB84F7
RGBrgb(203, 132, 247)
HSLhsl(277, 88%, 74%)
HSVhsv(277, 47%, 97%)
CMYKcmyk(17.8%, 46.6%, 0%, 3.1%)
CIE-LABlab(66.46, 47.31, -47.11)
CIE-LCHlch(66.46, 66.77, 315.12°)
OKLaboklab(73.03% 0.115 -0.1312)
OKLCHoklch(73.03% 0.174 311.2)
XYZxyz(49.6654, 35.9154, 92.2937)
Luminance0.3591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB84F7 #B0F784
analogous
#9284F7 #CB84F7 #F784EA
triadic
#CB84F7 #F7CB84 #84F7CB
tetradic
#CB84F7 #F79284 #B0F784 #84EAF7
square
#CB84F7 #F79284 #B0F784 #84EAF7
split-complementary
#CB84F7 #EAF784 #84F792
monochromatic
#9A11F0 #B34BF3 #CB84F7 #E3BDFB #F3E2FD

Accessibility & contrast

On white

2.57
#CB84F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#CB84F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB84F7
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB84F7#FFFFFF#000000##000000
##CB84F71.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9EFB
Deuteranopia (green-blind)
#7DA3F4
Tritanopia (blue-blind)
#C696B2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cb84f7;
/* rgb */ color: rgb(203, 132, 247);
/* oklch */ color: oklch(73.0% 0.174 311.2);
Tailwind
colors: {
  custom: {
    50: '#dda9fa',
    500: '#cb84f7',
    950: '#000000',
  },
}
SCSS
$custom: #cb84f7;
$custom-light: #dda9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cb84f7",
  "rgb": {
    "r": 203,
    "g": 132,
    "b": 247
  },
  "hsl": {
    "h": 277.043,
    "s": 87.786,
    "l": 74.314
  },
  "oklch": {
    "l": 0.7303,
    "c": 0.17448,
    "h": 311.2
  },
  "luminance": 0.35914
}

Semantic roles & 50–950 ramp

primary
#CB84F7
secondary
#E2F5D6
accent
#E40158
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CB84F7

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

Preview Lab → · Contrast checker → · Palette generator →

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