#CB79F6#CB79F6

#CB79F6 is a light, vivid violet. Relative luminance 0.330; OKLCH L 71.3% C 0.191 H 312.8°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#CB79F6
RGBrgb(203, 121, 246)
HSLhsl(279, 87%, 72%)
HSVhsv(279, 51%, 96%)
CMYKcmyk(17.5%, 50.8%, 0%, 3.5%)
CIE-LABlab(64.18, 52.83, -50.15)
CIE-LCHlch(64.18, 72.84, 316.49°)
OKLaboklab(71.33% 0.1296 -0.14)
OKLCHoklch(71.33% 0.191 312.8)
XYZxyz(48.0977, 33.0262, 91.0119)
Luminance0.3302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB79F6 #A4F679
analogous
#8D79F6 #CB79F6 #F679E3
triadic
#CB79F6 #F6CB79 #79F6CB
tetradic
#CB79F6 #F68D79 #A4F679 #79E3F6
square
#CB79F6 #F68D79 #A4F679 #79E3F6
split-complementary
#CB79F6 #E3F679 #79F68D
monochromatic
#9C0FE5 #B540F2 #CB79F6 #E1B2FA #F4E2FD

Accessibility & contrast

On white

2.76
#CB79F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#CB79F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB79F6
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB79F6#FFFFFF#000000##000000
##CB79F61.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A97FA
Deuteranopia (green-blind)
#749EF3
Tritanopia (blue-blind)
#C78DAC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cb79f6;
/* rgb */ color: rgb(203, 121, 246);
/* oklch */ color: oklch(71.3% 0.191 312.8);
Tailwind
colors: {
  custom: {
    50: '#dda2fa',
    500: '#cb79f6',
    950: '#000000',
  },
}
SCSS
$custom: #cb79f6;
$custom-light: #dda2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cb79f6",
  "rgb": {
    "r": 203,
    "g": 121,
    "b": 246
  },
  "hsl": {
    "h": 279.36,
    "s": 87.413,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71326,
    "c": 0.19078,
    "h": 312.8
  },
  "luminance": 0.33025
}

Semantic roles & 50–950 ramp

primary
#CB79F6
secondary
#E1F5D6
accent
#E4024F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB79F6

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

Preview Lab → · Contrast checker → · Palette generator →

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