#CB84F8#CB84F8

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

Color values

HEX#CB84F8
RGBrgb(203, 132, 248)
HSLhsl(277, 89%, 75%)
HSVhsv(277, 47%, 97%)
CMYKcmyk(18.1%, 46.8%, 0%, 2.7%)
CIE-LABlab(66.50, 47.53, -47.59)
CIE-LCHlch(66.50, 67.26, 314.96°)
OKLaboklab(73.08% 0.1152 -0.1326)
OKLCHoklch(73.08% 0.176 311)
XYZxyz(49.8201, 35.9773, 93.1086)
Luminance0.3598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB84F8 #B1F884
analogous
#9184F8 #CB84F8 #F884EB
triadic
#CB84F8 #F8CB84 #84F8CB
tetradic
#CB84F8 #F89184 #B1F884 #84EBF8
square
#CB84F8 #F89184 #B1F884 #84EBF8
split-complementary
#CB84F8 #EBF884 #84F891
monochromatic
#9A10F1 #B34AF5 #CB84F8 #E3BEFB #F3E2FD

Accessibility & contrast

On white

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

On black

8.20
#CB84F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB84F8
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB84F8#FFFFFF#000000##000000
##CB84F81.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#699EFC
Deuteranopia (green-blind)
#7DA3F5
Tritanopia (blue-blind)
#C696B2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cb84f8;
/* rgb */ color: rgb(203, 132, 248);
/* oklch */ color: oklch(73.1% 0.176 311.0);
Tailwind
colors: {
  custom: {
    50: '#dda9fb',
    500: '#cb84f8',
    950: '#000000',
  },
}
SCSS
$custom: #cb84f8;
$custom-light: #dda9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb84f8",
  "rgb": {
    "r": 203,
    "g": 132,
    "b": 248
  },
  "hsl": {
    "h": 276.724,
    "s": 89.231,
    "l": 74.51
  },
  "oklch": {
    "l": 0.73081,
    "c": 0.1756,
    "h": 311
  },
  "luminance": 0.35976
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB84F8

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

Preview Lab → · Contrast checker → · Palette generator →

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