#CB79FA#CB79FA

#CB79FA is a light, vivid violet. Relative luminance 0.333; OKLCH L 71.5% C 0.195 H 311.8°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#CB79FA
RGBrgb(203, 121, 250)
HSLhsl(278, 93%, 73%)
HSVhsv(278, 52%, 98%)
CMYKcmyk(18.8%, 51.6%, 0%, 2%)
CIE-LABlab(64.38, 53.67, -52.04)
CIE-LCHlch(64.38, 74.76, 315.89°)
OKLaboklab(71.54% 0.13 -0.1455)
OKLCHoklch(71.54% 0.195 311.8)
XYZxyz(48.7182, 33.2744, 94.2801)
Luminance0.3327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB79FA #A8FA79
analogous
#8B79FA #CB79FA #FA79E8
triadic
#CB79FA #FACB79 #79FACB
tetradic
#CB79FA #FA8B79 #A8FA79 #79E8FA
square
#CB79FA #FA8B79 #A8FA79 #79E8FA
split-complementary
#CB79FA #E8FA79 #79FA8B
monochromatic
#9C09F0 #B43EF8 #CB79FA #E2B4FC #F4E2FE

Accessibility & contrast

On white

2.74
#CB79FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#CB79FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB79FA
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB79FA#FFFFFF#000000##000000
##CB79FA1.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5798FE
Deuteranopia (green-blind)
#719EF7
Tritanopia (blue-blind)
#C68EAE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cb79fa;
/* rgb */ color: rgb(203, 121, 250);
/* oklch */ color: oklch(71.5% 0.195 311.8);
Tailwind
colors: {
  custom: {
    50: '#dda2fc',
    500: '#cb79fa',
    950: '#000000',
  },
}
SCSS
$custom: #cb79fa;
$custom-light: #dda2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb79fa",
  "rgb": {
    "r": 203,
    "g": 121,
    "b": 250
  },
  "hsl": {
    "h": 278.14,
    "s": 92.806,
    "l": 72.745
  },
  "oklch": {
    "l": 0.7154,
    "c": 0.19507,
    "h": 311.8
  },
  "luminance": 0.33273
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB79FA

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

Preview Lab → · Contrast checker → · Palette generator →

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