#CB79F2#CB79F2

#CB79F2 is a light, vivid purple. Relative luminance 0.328; OKLCH L 71.1% C 0.186 H 313.9°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#CB79F2
RGBrgb(203, 121, 242)
HSLhsl(281, 82%, 71%)
HSVhsv(281, 50%, 95%)
CMYKcmyk(16.1%, 50%, 0%, 5.1%)
CIE-LABlab(63.99, 51.99, -48.26)
CIE-LCHlch(63.99, 70.94, 317.13°)
OKLaboklab(71.12% 0.1292 -0.1345)
OKLCHoklch(71.12% 0.187 313.9)
XYZxyz(47.4903, 32.7833, 87.8133)
Luminance0.3278 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB79F2 #A0F279
analogous
#8E79F2 #CB79F2 #F279DC
triadic
#CB79F2 #F2CB79 #79F2CB
tetradic
#CB79F2 #F28E79 #A0F279 #79DCF2
square
#CB79F2 #F28E79 #A0F279 #79DCF2
split-complementary
#CB79F2 #DCF279 #79F28E
monochromatic
#9B15DB #B541ED #CB79F2 #E1B1F7 #F4E3FC

Accessibility & contrast

On white

2.78
#CB79F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#CB79F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB79F2
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB79F2#FFFFFF#000000##000000
##CB79F21.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D96F6
Deuteranopia (green-blind)
#769DEF
Tritanopia (blue-blind)
#C88CAB
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cb79f2;
/* rgb */ color: rgb(203, 121, 242);
/* oklch */ color: oklch(71.1% 0.186 313.9);
Tailwind
colors: {
  custom: {
    50: '#dda2f7',
    500: '#cb79f2',
    950: '#000000',
  },
}
SCSS
$custom: #cb79f2;
$custom-light: #dda2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb79f2",
  "rgb": {
    "r": 203,
    "g": 121,
    "b": 242
  },
  "hsl": {
    "h": 280.661,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71116,
    "c": 0.1865,
    "h": 313.9
  },
  "luminance": 0.32782
}

Semantic roles & 50–950 ramp

primary
#CB79F2
secondary
#DEF3D3
accent
#DF074C
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB79F2

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

Preview Lab → · Contrast checker → · Palette generator →

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