#CB84F2#CB84F2

#CB84F2 is a light, vivid violet. Relative luminance 0.356; OKLCH L 72.8% C 0.169 H 312.6°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#CB84F2
RGBrgb(203, 132, 242)
HSLhsl(279, 81%, 73%)
HSVhsv(279, 45%, 95%)
CMYKcmyk(16.1%, 45.5%, 0%, 5.1%)
CIE-LABlab(66.22, 46.25, -44.74)
CIE-LCHlch(66.22, 64.35, 315.96°)
OKLaboklab(72.78% 0.1143 -0.1243)
OKLCHoklch(72.78% 0.169 312.6)
XYZxyz(48.9041, 35.6109, 88.2846)
Luminance0.3561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB84F2 #ABF284
analogous
#9484F2 #CB84F2 #F284E2
triadic
#CB84F2 #F2CB84 #84F2CB
tetradic
#CB84F2 #F29484 #ABF284 #84E2F2
square
#CB84F2 #F29484 #ABF284 #84E2F2
split-complementary
#CB84F2 #E2F284 #84F294
monochromatic
#9B18E4 #B44DEC #CB84F2 #E2BBF8 #F3E3FC

Accessibility & contrast

On white

2.59
#CB84F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#CB84F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB84F2
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB84F2#FFFFFF#000000##000000
##CB84F21.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9DF6
Deuteranopia (green-blind)
#80A3EF
Tritanopia (blue-blind)
#C795B0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cb84f2;
/* rgb */ color: rgb(203, 132, 242);
/* oklch */ color: oklch(72.8% 0.169 312.6);
Tailwind
colors: {
  custom: {
    50: '#dda9f7',
    500: '#cb84f2',
    950: '#000000',
  },
}
SCSS
$custom: #cb84f2;
$custom-light: #dda9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb84f2",
  "rgb": {
    "r": 203,
    "g": 132,
    "b": 242
  },
  "hsl": {
    "h": 278.727,
    "s": 80.882,
    "l": 73.333
  },
  "oklch": {
    "l": 0.72779,
    "c": 0.16889,
    "h": 312.6
  },
  "luminance": 0.3561
}

Semantic roles & 50–950 ramp

primary
#CB84F2
secondary
#E1F4D7
accent
#DD0854
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CB84F2

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

Preview Lab → · Contrast checker → · Palette generator →

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