#CB79F9#CB79F9

#CB79F9 is a light, vivid violet. Relative luminance 0.332; OKLCH L 71.5% C 0.194 H 312.0°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#CB79F9
RGBrgb(203, 121, 249)
HSLhsl(278, 91%, 73%)
HSVhsv(278, 51%, 98%)
CMYKcmyk(18.5%, 51.4%, 0%, 2.4%)
CIE-LABlab(64.33, 53.46, -51.57)
CIE-LCHlch(64.33, 74.28, 316.03°)
OKLaboklab(71.49% 0.1299 -0.1441)
OKLCHoklch(71.49% 0.194 312)
XYZxyz(48.5618, 33.2119, 93.4565)
Luminance0.3321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB79F9 #A7F979
analogous
#8B79F9 #CB79F9 #F979E7
triadic
#CB79F9 #F9CB79 #79F9CB
tetradic
#CB79F9 #F98B79 #A7F979 #79E7F9
square
#CB79F9 #F98B79 #A7F979 #79E7F9
split-complementary
#CB79F9 #E7F979 #79F98B
monochromatic
#9C0BED #B43EF6 #CB79F9 #E2B4FC #F4E2FE

Accessibility & contrast

On white

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

On black

7.64
#CB79F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB79F9
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB79F9#FFFFFF#000000##000000
##CB79F91.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5898FD
Deuteranopia (green-blind)
#729EF6
Tritanopia (blue-blind)
#C68EAE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cb79f9;
/* rgb */ color: rgb(203, 121, 249);
/* oklch */ color: oklch(71.5% 0.194 312.0);
Tailwind
colors: {
  custom: {
    50: '#dda2fc',
    500: '#cb79f9',
    950: '#000000',
  },
}
SCSS
$custom: #cb79f9;
$custom-light: #dda2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb79f9",
  "rgb": {
    "r": 203,
    "g": 121,
    "b": 249
  },
  "hsl": {
    "h": 278.438,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71486,
    "c": 0.19399,
    "h": 312
  },
  "luminance": 0.33211
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB79F9

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

Preview Lab → · Contrast checker → · Palette generator →

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