#CB79EA#CB79EA

#CB79EA is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.7% C 0.178 H 316.1°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#CB79EA
RGBrgb(203, 121, 234)
HSLhsl(284, 73%, 70%)
HSVhsv(284, 48%, 92%)
CMYKcmyk(13.2%, 48.3%, 0%, 8.2%)
CIE-LABlab(63.60, 50.35, -44.44)
CIE-LCHlch(63.60, 67.16, 318.57°)
OKLaboklab(70.71% 0.1283 -0.1234)
OKLCHoklch(70.71% 0.178 316.1)
XYZxyz(46.3150, 32.3132, 81.6233)
Luminance0.3231 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB79EA #98EA79
analogous
#9379EA #CB79EA #EA79D0
triadic
#CB79EA #EACB79 #79EACB
tetradic
#CB79EA #EA9379 #98EA79 #79D0EA
square
#CB79EA #EA9379 #98EA79 #79D0EA
split-complementary
#CB79EA #D0EA79 #79EA93
monochromatic
#9B20C9 #B644E2 #CB79EA #E0AEF2 #F4E3FB

Accessibility & contrast

On white

2.81
#CB79EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#CB79EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB79EA
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB79EA#FFFFFF#000000##000000
##CB79EA1.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6395EE
Deuteranopia (green-blind)
#7B9DE7
Tritanopia (blue-blind)
#CA8AA7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cb79ea;
/* rgb */ color: rgb(203, 121, 234);
/* oklch */ color: oklch(70.7% 0.178 316.1);
Tailwind
colors: {
  custom: {
    50: '#dda2f1',
    500: '#cb79ea',
    950: '#000000',
  },
}
SCSS
$custom: #cb79ea;
$custom-light: #dda2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb79ea",
  "rgb": {
    "r": 203,
    "g": 121,
    "b": 234
  },
  "hsl": {
    "h": 283.54,
    "s": 72.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70706,
    "c": 0.178,
    "h": 316.1
  },
  "luminance": 0.32312
}

Semantic roles & 50–950 ramp

primary
#CB79EA
secondary
#D8F0CF
accent
#D51146
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB79EA

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

Preview Lab → · Contrast checker → · Palette generator →

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