#CB79C8#CB79C8

#CB79C8 is a light, vivid purple. Relative luminance 0.305; OKLCH L 69.1% C 0.144 H 328.3°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#CB79C8
RGBrgb(203, 121, 200)
HSLhsl(302, 44%, 64%)
HSVhsv(302, 40%, 80%)
CMYKcmyk(0%, 40.4%, 1.5%, 20.4%)
CIE-LABlab(62.12, 43.78, -27.73)
CIE-LCHlch(62.12, 51.83, 327.65°)
OKLaboklab(69.12% 0.1223 -0.0755)
OKLCHoklch(69.12% 0.144 328.3)
XYZxyz(41.8906, 30.5434, 58.3213)
Luminance0.3054 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB79C8 #79CB7C
analogous
#A579CB #CB79C8 #CB799F
triadic
#CB79C8 #C8CB79 #79C8CB
tetradic
#CB79C8 #CBA579 #79CB7C #799FCB
square
#CB79C8 #CBA579 #79CB7C #799FCB
split-complementary
#CB79C8 #9FCB79 #79CBA5
monochromatic
#91388E #BA4DB6 #CB79C8 #DCA5DA #EDD1EC

Accessibility & contrast

On white

2.95
#CB79C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#CB79C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB79C8
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB79C8#FFFFFF#000000##000000
##CB79C81.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#748FCB
Deuteranopia (green-blind)
#8A9AC5
Tritanopia (blue-blind)
#D08097
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cb79c8;
/* rgb */ color: rgb(203, 121, 200);
/* oklch */ color: oklch(69.1% 0.144 328.3);
Tailwind
colors: {
  custom: {
    50: '#dca2d9',
    500: '#cb79c8',
    950: '#000000',
  },
}
SCSS
$custom: #cb79c8;
$custom-light: #dca2d9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb79c8",
  "rgb": {
    "r": 203,
    "g": 121,
    "b": 200
  },
  "hsl": {
    "h": 302.195,
    "s": 44.086,
    "l": 63.529
  },
  "oklch": {
    "l": 0.69117,
    "c": 0.14369,
    "h": 328.3
  },
  "luminance": 0.30541
}

Semantic roles & 50–950 ramp

primary
#CB79C8
secondary
#C1DEC2
accent
#B7332E
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CB79C8

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

Preview Lab → · Contrast checker → · Palette generator →

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