#CB79DD#CB79DD

#CB79DD is a light, vivid purple. Relative luminance 0.316; OKLCH L 70.1% C 0.164 H 320.2°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#CB79DD
RGBrgb(203, 121, 221)
HSLhsl(289, 60%, 67%)
HSVhsv(289, 45%, 87%)
CMYKcmyk(8.1%, 45.2%, 0%, 13.3%)
CIE-LABlab(63.01, 47.75, -38.14)
CIE-LCHlch(63.01, 61.12, 321.38°)
OKLaboklab(70.07% 0.1264 -0.1052)
OKLCHoklch(70.07% 0.164 320.2)
XYZxyz(44.5155, 31.5933, 72.1458)
Luminance0.3159 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB79DD #8BDD79
analogous
#9979DD #CB79DD #DD79BD
triadic
#CB79DD #DDCB79 #79DDCB
tetradic
#CB79DD #DD9979 #8BDD79 #79BDDD
square
#CB79DD #DD9979 #8BDD79 #79BDDD
split-complementary
#CB79DD #BDDD79 #79DD99
monochromatic
#982CAF #B848D1 #CB79DD #DEAAE9 #F1DBF6

Accessibility & contrast

On white

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

On black

7.32
#CB79DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB79DD
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB79DD#FFFFFF#000000##000000
##CB79DD1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A93E0
Deuteranopia (green-blind)
#819CDA
Tritanopia (blue-blind)
#CC86A1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cb79dd;
/* rgb */ color: rgb(203, 121, 221);
/* oklch */ color: oklch(70.1% 0.164 320.2);
Tailwind
colors: {
  custom: {
    50: '#dca2e8',
    500: '#cb79dd',
    950: '#000000',
  },
}
SCSS
$custom: #cb79dd;
$custom-light: #dca2e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb79dd",
  "rgb": {
    "r": 203,
    "g": 121,
    "b": 221
  },
  "hsl": {
    "h": 289.2,
    "s": 59.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70069,
    "c": 0.16445,
    "h": 320.2
  },
  "luminance": 0.31592
}

Semantic roles & 50–950 ramp

primary
#CB79DD
secondary
#CFE9C9
accent
#C71E3D
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB79DD

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

Preview Lab → · Contrast checker → · Palette generator →

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