#CB79EB#CB79EB

#CB79EB is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.8% C 0.179 H 315.8°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#CB79EB
RGBrgb(203, 121, 235)
HSLhsl(283, 74%, 70%)
HSVhsv(283, 49%, 92%)
CMYKcmyk(13.6%, 48.5%, 0%, 7.8%)
CIE-LABlab(63.65, 50.55, -44.92)
CIE-LCHlch(63.65, 67.63, 318.38°)
OKLaboklab(70.76% 0.1284 -0.1248)
OKLCHoklch(70.76% 0.179 315.8)
XYZxyz(46.4591, 32.3708, 82.3820)
Luminance0.3237 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB79EB #99EB79
analogous
#9279EB #CB79EB #EB79D2
triadic
#CB79EB #EBCB79 #79EBCB
tetradic
#CB79EB #EB9279 #99EB79 #79D2EB
square
#CB79EB #EB9279 #99EB79 #79D2EB
split-complementary
#CB79EB #D2EB79 #79EB92
monochromatic
#9B1ECB #B644E3 #CB79EB #E0AEF3 #F4E4FB

Accessibility & contrast

On white

2.81
#CB79EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#CB79EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB79EB
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB79EB#FFFFFF#000000##000000
##CB79EB1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295EF
Deuteranopia (green-blind)
#7A9DE8
Tritanopia (blue-blind)
#C98AA7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cb79eb;
/* rgb */ color: rgb(203, 121, 235);
/* oklch */ color: oklch(70.8% 0.179 315.8);
Tailwind
colors: {
  custom: {
    50: '#dda2f2',
    500: '#cb79eb',
    950: '#000000',
  },
}
SCSS
$custom: #cb79eb;
$custom-light: #dda2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb79eb",
  "rgb": {
    "r": 203,
    "g": 121,
    "b": 235
  },
  "hsl": {
    "h": 283.158,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70757,
    "c": 0.17906,
    "h": 315.8
  },
  "luminance": 0.32369
}

Semantic roles & 50–950 ramp

primary
#CB79EB
secondary
#D9F0D0
accent
#D60F47
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB79EB

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

Preview Lab → · Contrast checker → · Palette generator →

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