#CB79E8#CB79E8

#CB79E8 is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.6% C 0.176 H 316.7°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#CB79E8
RGBrgb(203, 121, 232)
HSLhsl(284, 71%, 69%)
HSVhsv(284, 48%, 91%)
CMYKcmyk(12.5%, 47.8%, 0%, 9%)
CIE-LABlab(63.51, 49.94, -43.48)
CIE-LCHlch(63.51, 66.22, 318.96°)
OKLaboklab(70.61% 0.128 -0.1206)
OKLCHoklch(70.61% 0.176 316.7)
XYZxyz(46.0293, 32.1989, 80.1186)
Luminance0.3220 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB79E8 #96E879
analogous
#9479E8 #CB79E8 #E879CE
triadic
#CB79E8 #E8CB79 #79E8CB
tetradic
#CB79E8 #E89479 #96E879 #79CEE8
square
#CB79E8 #E89479 #96E879 #79CEE8
split-complementary
#CB79E8 #CEE879 #79E894
monochromatic
#9A22C5 #B745DF #CB79E8 #DFADF1 #F4E1FA

Accessibility & contrast

On white

2.82
#CB79E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#CB79E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB79E8
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB79E8#FFFFFF#000000##000000
##CB79E81.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6495EC
Deuteranopia (green-blind)
#7C9CE5
Tritanopia (blue-blind)
#CA89A6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cb79e8;
/* rgb */ color: rgb(203, 121, 232);
/* oklch */ color: oklch(70.6% 0.176 316.7);
Tailwind
colors: {
  custom: {
    50: '#dda2f0',
    500: '#cb79e8',
    950: '#000000',
  },
}
SCSS
$custom: #cb79e8;
$custom-light: #dda2f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb79e8",
  "rgb": {
    "r": 203,
    "g": 121,
    "b": 232
  },
  "hsl": {
    "h": 284.324,
    "s": 70.701,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70606,
    "c": 0.17589,
    "h": 316.7
  },
  "luminance": 0.32197
}

Semantic roles & 50–950 ramp

primary
#CB79E8
secondary
#D7EFCE
accent
#D31345
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB79E8

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

Preview Lab → · Contrast checker → · Palette generator →

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