#CB79F8#CB79F8

#CB79F8 is a light, vivid violet. Relative luminance 0.331; OKLCH L 71.4% C 0.193 H 312.3°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#CB79F8
RGBrgb(203, 121, 248)
HSLhsl(279, 90%, 72%)
HSVhsv(279, 51%, 97%)
CMYKcmyk(18.1%, 51.2%, 0%, 2.7%)
CIE-LABlab(64.28, 53.25, -51.10)
CIE-LCHlch(64.28, 73.80, 316.18°)
OKLaboklab(71.43% 0.1298 -0.1427)
OKLCHoklch(71.43% 0.193 312.3)
XYZxyz(48.4063, 33.1497, 92.6373)
Luminance0.3315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB79F8 #A6F879
analogous
#8B79F8 #CB79F8 #F879E6
triadic
#CB79F8 #F8CB79 #79F8CB
tetradic
#CB79F8 #F88B79 #A6F879 #79E6F8
square
#CB79F8 #F88B79 #A6F879 #79E6F8
split-complementary
#CB79F8 #E6F879 #79F88B
monochromatic
#9C0CEA #B43FF5 #CB79F8 #E2B3FB #F4E2FD

Accessibility & contrast

On white

2.75
#CB79F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#CB79F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB79F8
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB79F8#FFFFFF#000000##000000
##CB79F81.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5998FC
Deuteranopia (green-blind)
#739EF5
Tritanopia (blue-blind)
#C68EAD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cb79f8;
/* rgb */ color: rgb(203, 121, 248);
/* oklch */ color: oklch(71.4% 0.193 312.3);
Tailwind
colors: {
  custom: {
    50: '#dda2fb',
    500: '#cb79f8',
    950: '#000000',
  },
}
SCSS
$custom: #cb79f8;
$custom-light: #dda2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb79f8",
  "rgb": {
    "r": 203,
    "g": 121,
    "b": 248
  },
  "hsl": {
    "h": 278.74,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71432,
    "c": 0.19293,
    "h": 312.3
  },
  "luminance": 0.33149
}

Semantic roles & 50–950 ramp

primary
#CB79F8
secondary
#E1F6D5
accent
#E60051
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB79F8

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

Preview Lab → · Contrast checker → · Palette generator →

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