#CB79DC#CB79DC

#CB79DC is a light, vivid purple. Relative luminance 0.315; OKLCH L 70.0% C 0.163 H 320.6°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#CB79DC
RGBrgb(203, 121, 220)
HSLhsl(290, 59%, 67%)
HSVhsv(290, 45%, 86%)
CMYKcmyk(7.7%, 45%, 0%, 13.7%)
CIE-LABlab(62.96, 47.56, -37.65)
CIE-LCHlch(62.96, 60.66, 321.63°)
OKLaboklab(70.02% 0.1262 -0.1038)
OKLCHoklch(70.02% 0.163 320.6)
XYZxyz(44.3827, 31.5402, 71.4462)
Luminance0.3154 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB79DC #8ADC79
analogous
#9A79DC #CB79DC #DC79BC
triadic
#CB79DC #DCCB79 #79DCCB
tetradic
#CB79DC #DC9A79 #8ADC79 #79BCDC
square
#CB79DC #DC9A79 #8ADC79 #79BCDC
split-complementary
#CB79DC #BCDC79 #79DC9A
monochromatic
#972DAD #B848CF #CB79DC #DEAAE9 #F1DAF5

Accessibility & contrast

On white

2.87
#CB79DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#CB79DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB79DC
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB79DC#FFFFFF#000000##000000
##CB79DC1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B93DF
Deuteranopia (green-blind)
#819BD9
Tritanopia (blue-blind)
#CD86A0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cb79dc;
/* rgb */ color: rgb(203, 121, 220);
/* oklch */ color: oklch(70.0% 0.163 320.6);
Tailwind
colors: {
  custom: {
    50: '#dca2e7',
    500: '#cb79dc',
    950: '#000000',
  },
}
SCSS
$custom: #cb79dc;
$custom-light: #dca2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb79dc",
  "rgb": {
    "r": 203,
    "g": 121,
    "b": 220
  },
  "hsl": {
    "h": 289.697,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.70021,
    "c": 0.16342,
    "h": 320.6
  },
  "luminance": 0.31539
}

Semantic roles & 50–950 ramp

primary
#CB79DC
secondary
#CEE8C9
accent
#C61F3C
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB79DC

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

Preview Lab → · Contrast checker → · Palette generator →

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