#CB79E4#CB79E4

#CB79E4 is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.4% C 0.172 H 317.9°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#CB79E4
RGBrgb(203, 121, 228)
HSLhsl(286, 66%, 68%)
HSVhsv(286, 47%, 89%)
CMYKcmyk(11%, 46.9%, 0%, 10.6%)
CIE-LABlab(63.32, 49.14, -41.55)
CIE-LCHlch(63.32, 64.35, 319.79°)
OKLaboklab(70.41% 0.1275 -0.115)
OKLCHoklch(70.41% 0.172 317.9)
XYZxyz(45.4676, 31.9742, 77.1603)
Luminance0.3197 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB79E4 #92E479
analogous
#9579E4 #CB79E4 #E479C8
triadic
#CB79E4 #E4CB79 #79E4CB
tetradic
#CB79E4 #E49579 #92E479 #79C8E4
square
#CB79E4 #E49579 #92E479 #79C8E4
split-complementary
#CB79E4 #C8E479 #79E495
monochromatic
#9926BD #B746DA #CB79E4 #DFACEE #F3DFF9

Accessibility & contrast

On white

2.84
#CB79E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#CB79E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB79E4
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB79E4#FFFFFF#000000##000000
##CB79E41.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6694E8
Deuteranopia (green-blind)
#7E9CE1
Tritanopia (blue-blind)
#CB88A4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cb79e4;
/* rgb */ color: rgb(203, 121, 228);
/* oklch */ color: oklch(70.4% 0.172 317.9);
Tailwind
colors: {
  custom: {
    50: '#dda2ed',
    500: '#cb79e4',
    950: '#000000',
  },
}
SCSS
$custom: #cb79e4;
$custom-light: #dda2ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cb79e4",
  "rgb": {
    "r": 203,
    "g": 121,
    "b": 228
  },
  "hsl": {
    "h": 285.981,
    "s": 66.46,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70408,
    "c": 0.1717,
    "h": 317.9
  },
  "luminance": 0.31973
}

Semantic roles & 50–950 ramp

primary
#CB79E4
secondary
#D4ECCC
accent
#CE1742
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB79E4

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

Preview Lab → · Contrast checker → · Palette generator →

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