#CB79E2#CB79E2

#CB79E2 is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.3% C 0.170 H 318.6°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#CB79E2
RGBrgb(203, 121, 226)
HSLhsl(287, 64%, 68%)
HSVhsv(287, 46%, 89%)
CMYKcmyk(10.2%, 46.5%, 0%, 11.4%)
CIE-LABlab(63.23, 48.74, -40.58)
CIE-LCHlch(63.23, 63.42, 320.22°)
OKLaboklab(70.31% 0.1272 -0.1122)
OKLCHoklch(70.31% 0.17 318.6)
XYZxyz(45.1916, 31.8638, 75.7066)
Luminance0.3186 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB79E2 #90E279
analogous
#9679E2 #CB79E2 #E279C4
triadic
#CB79E2 #E2CB79 #79E2CB
tetradic
#CB79E2 #E29679 #90E279 #79C4E2
square
#CB79E2 #E29679 #90E279 #79C4E2
split-complementary
#CB79E2 #C4E279 #79E296
monochromatic
#9928B9 #B747D7 #CB79E2 #DFABED #F2DEF8

Accessibility & contrast

On white

2.85
#CB79E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#CB79E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB79E2
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB79E2#FFFFFF#000000##000000
##CB79E21.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6794E6
Deuteranopia (green-blind)
#7F9CDF
Tritanopia (blue-blind)
#CB87A3
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cb79e2;
/* rgb */ color: rgb(203, 121, 226);
/* oklch */ color: oklch(70.3% 0.170 318.6);
Tailwind
colors: {
  custom: {
    50: '#dda2eb',
    500: '#cb79e2',
    950: '#000000',
  },
}
SCSS
$custom: #cb79e2;
$custom-light: #dda2eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb79e2",
  "rgb": {
    "r": 203,
    "g": 121,
    "b": 226
  },
  "hsl": {
    "h": 286.857,
    "s": 64.417,
    "l": 68.039
  },
  "oklch": {
    "l": 0.7031,
    "c": 0.16962,
    "h": 318.6
  },
  "luminance": 0.31862
}

Semantic roles & 50–950 ramp

primary
#CB79E2
secondary
#D2EBCB
accent
#CC1940
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB79E2

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

Preview Lab → · Contrast checker → · Palette generator →

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