#CB79F3#CB79F3

#CB79F3 is a light, vivid purple. Relative luminance 0.328; OKLCH L 71.2% C 0.188 H 313.6°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#CB79F3
RGBrgb(203, 121, 243)
HSLhsl(280, 84%, 71%)
HSVhsv(280, 50%, 95%)
CMYKcmyk(16.5%, 50.2%, 0%, 4.7%)
CIE-LABlab(64.03, 52.20, -48.73)
CIE-LCHlch(64.03, 71.41, 316.97°)
OKLaboklab(71.17% 0.1293 -0.1359)
OKLCHoklch(71.17% 0.188 313.6)
XYZxyz(47.6409, 32.8435, 88.6064)
Luminance0.3284 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB79F3 #A1F379
analogous
#8E79F3 #CB79F3 #F379DE
triadic
#CB79F3 #F3CB79 #79F3CB
tetradic
#CB79F3 #F38E79 #A1F379 #79DEF3
square
#CB79F3 #F38E79 #A1F379 #79DEF3
split-complementary
#CB79F3 #DEF379 #79F38E
monochromatic
#9C14DE #B541EE #CB79F3 #E1B1F8 #F4E3FC

Accessibility & contrast

On white

2.77
#CB79F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#CB79F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB79F3
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB79F3#FFFFFF#000000##000000
##CB79F31.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb79f3;
/* rgb */ color: rgb(203, 121, 243);
/* oklch */ color: oklch(71.2% 0.188 313.6);
Tailwind
colors: {
  custom: {
    50: '#dda2f7',
    500: '#cb79f3',
    950: '#000000',
  },
}
SCSS
$custom: #cb79f3;
$custom-light: #dda2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb79f3",
  "rgb": {
    "r": 203,
    "g": 121,
    "b": 243
  },
  "hsl": {
    "h": 280.328,
    "s": 83.562,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71169,
    "c": 0.18757,
    "h": 313.6
  },
  "luminance": 0.32842
}

Semantic roles & 50–950 ramp

primary
#CB79F3
secondary
#DEF4D4
accent
#E0064D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB79F3

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

Preview Lab → · Contrast checker → · Palette generator →

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