#CB79EC#CB79EC

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

Color values

HEX#CB79EC
RGBrgb(203, 121, 236)
HSLhsl(283, 75%, 70%)
HSVhsv(283, 49%, 93%)
CMYKcmyk(14%, 48.7%, 0%, 7.5%)
CIE-LABlab(63.70, 50.76, -45.40)
CIE-LCHlch(63.70, 68.10, 318.19°)
OKLaboklab(70.81% 0.1285 -0.1262)
OKLCHoklch(70.81% 0.18 315.5)
XYZxyz(46.6040, 32.4287, 83.1450)
Luminance0.3243 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB79EC #9AEC79
analogous
#9279EC #CB79EC #EC79D3
triadic
#CB79EC #ECCB79 #79ECCB
tetradic
#CB79EC #EC9279 #9AEC79 #79D3EC
square
#CB79EC #EC9279 #9AEC79 #79D3EC
split-complementary
#CB79EC #D3EC79 #79EC92
monochromatic
#9B1DCD #B643E4 #CB79EC #E0AFF4 #F5E4FB

Accessibility & contrast

On white

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

On black

7.49
#CB79EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB79EC
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB79EC#FFFFFF#000000##000000
##CB79EC1.002.817.497.49
#FFFFFF2.811.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6195F0
Deuteranopia (green-blind)
#799DE9
Tritanopia (blue-blind)
#C98AA8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cb79ec;
/* rgb */ color: rgb(203, 121, 236);
/* oklch */ color: oklch(70.8% 0.180 315.5);
Tailwind
colors: {
  custom: {
    50: '#dda2f2',
    500: '#cb79ec',
    950: '#000000',
  },
}
SCSS
$custom: #cb79ec;
$custom-light: #dda2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb79ec",
  "rgb": {
    "r": 203,
    "g": 121,
    "b": 236
  },
  "hsl": {
    "h": 282.783,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.70808,
    "c": 0.18011,
    "h": 315.5
  },
  "luminance": 0.32427
}

Semantic roles & 50–950 ramp

primary
#CB79EC
secondary
#DAF0D0
accent
#D70E48
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB79EC

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

Preview Lab → · Contrast checker → · Palette generator →

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