#CB79FC#CB79FC

#CB79FC is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.6% C 0.197 H 311.3°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#CB79FC
RGBrgb(203, 121, 252)
HSLhsl(278, 96%, 73%)
HSVhsv(278, 52%, 99%)
CMYKcmyk(19.4%, 52%, 0%, 1.2%)
CIE-LABlab(64.48, 54.10, -52.97)
CIE-LCHlch(64.48, 75.71, 315.60°)
OKLaboklab(71.65% 0.1301 -0.1482)
OKLCHoklch(71.65% 0.197 311.3)
XYZxyz(49.0335, 33.4005, 95.9405)
Luminance0.3340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB79FC #AAFC79
analogous
#8979FC #CB79FC #FC79EC
triadic
#CB79FC #FCCB79 #79FCCB
tetradic
#CB79FC #FC8979 #AAFC79 #79ECFC
square
#CB79FC #FC8979 #AAFC79 #79ECFC
split-complementary
#CB79FC #ECFC79 #79FC89
monochromatic
#9B05F5 #B43DFB #CB79FC #E2B5FD #F3E1FE

Accessibility & contrast

On white

2.73
#CB79FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#CB79FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB79FC
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB79FC#FFFFFF#000000##000000
##CB79FC1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5698FF
Deuteranopia (green-blind)
#709EF9
Tritanopia (blue-blind)
#C58FAF
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cb79fc;
/* rgb */ color: rgb(203, 121, 252);
/* oklch */ color: oklch(71.6% 0.197 311.3);
Tailwind
colors: {
  custom: {
    50: '#dda2fe',
    500: '#cb79fc',
    950: '#000000',
  },
}
SCSS
$custom: #cb79fc;
$custom-light: #dda2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cb79fc",
  "rgb": {
    "r": 203,
    "g": 121,
    "b": 252
  },
  "hsl": {
    "h": 277.557,
    "s": 95.62,
    "l": 73.137
  },
  "oklch": {
    "l": 0.71647,
    "c": 0.19722,
    "h": 311.3
  },
  "luminance": 0.334
}

Semantic roles & 50–950 ramp

primary
#CB79FC
secondary
#E1F7D4
accent
#E60056
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CB79FC

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

Preview Lab → · Contrast checker → · Palette generator →

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