#CB79EF#CB79EF

#CB79EF is a light, vivid purple. Relative luminance 0.326; OKLCH L 71.0% C 0.183 H 314.7°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#CB79EF
RGBrgb(203, 121, 239)
HSLhsl(282, 79%, 71%)
HSVhsv(282, 49%, 94%)
CMYKcmyk(15.1%, 49.4%, 0%, 6.3%)
CIE-LABlab(63.84, 51.37, -46.83)
CIE-LCHlch(63.84, 69.52, 317.65°)
OKLaboklab(70.96% 0.1289 -0.1303)
OKLCHoklch(70.96% 0.183 314.7)
XYZxyz(47.0435, 32.6045, 85.4598)
Luminance0.3260 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB79EF #9DEF79
analogous
#9079EF #CB79EF #EF79D8
triadic
#CB79EF #EFCB79 #79EFCB
tetradic
#CB79EF #EF9079 #9DEF79 #79D8EF
square
#CB79EF #EF9079 #9DEF79 #79D8EF
split-complementary
#CB79EF #D8EF79 #79EF90
monochromatic
#9B19D4 #B642E8 #CB79EF #E0B0F6 #F4E4FC

Accessibility & contrast

On white

2.79
#CB79EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#CB79EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB79EF
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB79EF#FFFFFF#000000##000000
##CB79EF1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F96F3
Deuteranopia (green-blind)
#789DEC
Tritanopia (blue-blind)
#C88BA9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cb79ef;
/* rgb */ color: rgb(203, 121, 239);
/* oklch */ color: oklch(71.0% 0.183 314.7);
Tailwind
colors: {
  custom: {
    50: '#dda2f5',
    500: '#cb79ef',
    950: '#000000',
  },
}
SCSS
$custom: #cb79ef;
$custom-light: #dda2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb79ef",
  "rgb": {
    "r": 203,
    "g": 121,
    "b": 239
  },
  "hsl": {
    "h": 281.695,
    "s": 78.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.70961,
    "c": 0.18331,
    "h": 314.7
  },
  "luminance": 0.32603
}

Semantic roles & 50–950 ramp

primary
#CB79EF
secondary
#DCF2D2
accent
#DB0B4A
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB79EF

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

Preview Lab → · Contrast checker → · Palette generator →

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