#CB79DE#CB79DE

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

Color values

HEX#CB79DE
RGBrgb(203, 121, 222)
HSLhsl(289, 60%, 67%)
HSVhsv(289, 45%, 87%)
CMYKcmyk(8.6%, 45.5%, 0%, 12.9%)
CIE-LABlab(63.05, 47.95, -38.63)
CIE-LCHlch(63.05, 61.58, 321.14°)
OKLaboklab(70.12% 0.1265 -0.1066)
OKLCHoklch(70.12% 0.165 319.9)
XYZxyz(44.6491, 31.6468, 72.8496)
Luminance0.3165 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB79DE #8CDE79
analogous
#9979DE #CB79DE #DE79BE
triadic
#CB79DE #DECB79 #79DECB
tetradic
#CB79DE #DE9979 #8CDE79 #79BEDE
square
#CB79DE #DE9979 #8CDE79 #79BEDE
split-complementary
#CB79DE #BEDE79 #79DE99
monochromatic
#982CB1 #B848D2 #CB79DE #DEAAEA #F1DBF6

Accessibility & contrast

On white

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

On black

7.33
#CB79DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB79DE
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB79DE#FFFFFF#000000##000000
##CB79DE1.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6993E2
Deuteranopia (green-blind)
#809CDB
Tritanopia (blue-blind)
#CC86A1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cb79de;
/* rgb */ color: rgb(203, 121, 222);
/* oklch */ color: oklch(70.1% 0.165 319.9);
Tailwind
colors: {
  custom: {
    50: '#dda2e8',
    500: '#cb79de',
    950: '#000000',
  },
}
SCSS
$custom: #cb79de;
$custom-light: #dda2e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb79de",
  "rgb": {
    "r": 203,
    "g": 121,
    "b": 222
  },
  "hsl": {
    "h": 288.713,
    "s": 60.479,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70117,
    "c": 0.16547,
    "h": 319.9
  },
  "luminance": 0.31645
}

Semantic roles & 50–950 ramp

primary
#CB79DE
secondary
#CFE9C9
accent
#C81D3D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB79DE

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

Preview Lab → · Contrast checker → · Palette generator →

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