#CB84FA#CB84FA

#CB84FA is a light, vivid violet. Relative luminance 0.361; OKLCH L 73.2% C 0.178 H 310.5°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#CB84FA
RGBrgb(203, 132, 250)
HSLhsl(276, 92%, 75%)
HSVhsv(276, 47%, 98%)
CMYKcmyk(18.8%, 47.2%, 0%, 2%)
CIE-LABlab(66.60, 47.96, -48.53)
CIE-LCHlch(66.60, 68.23, 314.66°)
OKLaboklab(73.18% 0.1154 -0.1353)
OKLCHoklch(73.18% 0.178 310.5)
XYZxyz(50.1320, 36.1020, 94.7514)
Luminance0.3610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB84FA #B3FA84
analogous
#9084FA #CB84FA #FA84EE
triadic
#CB84FA #FACB84 #84FACB
tetradic
#CB84FA #FA9084 #B3FA84 #84EEFA
square
#CB84FA #FA9084 #B3FA84 #84EEFA
split-complementary
#CB84FA #EEFA84 #84FA90
monochromatic
#990EF5 #B249F8 #CB84FA #E4BFFC #F3E2FE

Accessibility & contrast

On white

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

On black

8.22
#CB84FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB84FA
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB84FA#FFFFFF#000000##000000
##CB84FA1.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#689FFE
Deuteranopia (green-blind)
#7CA3F7
Tritanopia (blue-blind)
#C597B3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cb84fa;
/* rgb */ color: rgb(203, 132, 250);
/* oklch */ color: oklch(73.2% 0.178 310.5);
Tailwind
colors: {
  custom: {
    50: '#dda9fc',
    500: '#cb84fa',
    950: '#000000',
  },
}
SCSS
$custom: #cb84fa;
$custom-light: #dda9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb84fa",
  "rgb": {
    "r": 203,
    "g": 132,
    "b": 250
  },
  "hsl": {
    "h": 276.102,
    "s": 92.188,
    "l": 74.902
  },
  "oklch": {
    "l": 0.73183,
    "c": 0.17785,
    "h": 310.5
  },
  "luminance": 0.36101
}

Semantic roles & 50–950 ramp

primary
#CB84FA
secondary
#E2F6D5
accent
#E6005B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CB84FA

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

Preview Lab → · Contrast checker → · Palette generator →

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