#CB79D2#CB79D2

#CB79D2 is a light, vivid purple. Relative luminance 0.310; OKLCH L 69.6% C 0.153 H 324.2°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#CB79D2
RGBrgb(203, 121, 210)
HSLhsl(295, 50%, 65%)
HSVhsv(295, 42%, 82%)
CMYKcmyk(3.3%, 42.4%, 0%, 17.6%)
CIE-LABlab(62.53, 45.64, -32.73)
CIE-LCHlch(62.53, 56.16, 324.35°)
OKLaboklab(69.56% 0.1244 -0.0897)
OKLCHoklch(69.56% 0.153 324.2)
XYZxyz(43.0977, 31.0262, 64.6788)
Luminance0.3102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB79D2 #80D279
analogous
#9F79D2 #CB79D2 #D279AC
triadic
#CB79D2 #D2CB79 #79D2CB
tetradic
#CB79D2 #D29F79 #80D279 #79ACD2
square
#CB79D2 #D29F79 #80D279 #79ACD2
split-complementary
#CB79D2 #ACD279 #79D29F
monochromatic
#94349C #B94BC3 #CB79D2 #DDA7E1 #EFD5F1

Accessibility & contrast

On white

2.91
#CB79D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#CB79D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB79D2
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB79D2#FFFFFF#000000##000000
##CB79D21.002.917.207.20
#FFFFFF2.911.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F91D5
Deuteranopia (green-blind)
#869BCF
Tritanopia (blue-blind)
#CE839C
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cb79d2;
/* rgb */ color: rgb(203, 121, 210);
/* oklch */ color: oklch(69.6% 0.153 324.2);
Tailwind
colors: {
  custom: {
    50: '#dca2e0',
    500: '#cb79d2',
    950: '#000000',
  },
}
SCSS
$custom: #cb79d2;
$custom-light: #dca2e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb79d2",
  "rgb": {
    "r": 203,
    "g": 121,
    "b": 210
  },
  "hsl": {
    "h": 295.281,
    "s": 49.721,
    "l": 64.902
  },
  "oklch": {
    "l": 0.69558,
    "c": 0.15335,
    "h": 324.2
  },
  "luminance": 0.31024
}

Semantic roles & 50–950 ramp

primary
#CB79D2
secondary
#C7E3C4
accent
#BD2834
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CB79D2

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

Preview Lab → · Contrast checker → · Palette generator →

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