#CB79E5#CB79E5

#CB79E5 is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.5% C 0.173 H 317.6°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#CB79E5
RGBrgb(203, 121, 229)
HSLhsl(286, 68%, 69%)
HSVhsv(286, 47%, 90%)
CMYKcmyk(11.4%, 47.2%, 0%, 10.2%)
CIE-LABlab(63.37, 49.34, -42.03)
CIE-LCHlch(63.37, 64.82, 319.57°)
OKLaboklab(70.46% 0.1276 -0.1164)
OKLCHoklch(70.46% 0.173 317.6)
XYZxyz(45.6068, 32.0299, 77.8935)
Luminance0.3203 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB79E5 #93E579
analogous
#9579E5 #CB79E5 #E579C9
triadic
#CB79E5 #E5CB79 #79E5CB
tetradic
#CB79E5 #E59579 #93E579 #79C9E5
square
#CB79E5 #E59579 #93E579 #79C9E5
split-complementary
#CB79E5 #C9E579 #79E595
monochromatic
#9A25BF #B746DB #CB79E5 #DFACEF #F3E0F9

Accessibility & contrast

On white

2.84
#CB79E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#CB79E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB79E5
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB79E5#FFFFFF#000000##000000
##CB79E51.002.847.417.41
#FFFFFF2.841.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6694E9
Deuteranopia (green-blind)
#7D9CE2
Tritanopia (blue-blind)
#CB88A4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cb79e5;
/* rgb */ color: rgb(203, 121, 229);
/* oklch */ color: oklch(70.5% 0.173 317.6);
Tailwind
colors: {
  custom: {
    50: '#dda2ed',
    500: '#cb79e5',
    950: '#000000',
  },
}
SCSS
$custom: #cb79e5;
$custom-light: #dda2ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cb79e5",
  "rgb": {
    "r": 203,
    "g": 121,
    "b": 229
  },
  "hsl": {
    "h": 285.556,
    "s": 67.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70457,
    "c": 0.17274,
    "h": 317.6
  },
  "luminance": 0.32028
}

Semantic roles & 50–950 ramp

primary
#CB79E5
secondary
#D5EDCD
accent
#CF1643
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB79E5

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

Preview Lab → · Contrast checker → · Palette generator →

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