#C79BEE#C79BEE

#C79BEE is a light, vivid violet. Relative luminance 0.418; OKLCH L 76.0% C 0.124 H 308.0°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#C79BEE
RGBrgb(199, 155, 238)
HSLhsl(272, 71%, 77%)
HSVhsv(272, 35%, 93%)
CMYKcmyk(16.4%, 34.9%, 0%, 6.7%)
CIE-LABlab(70.70, 31.79, -35.57)
CIE-LCHlch(70.70, 47.71, 311.79°)
OKLaboklab(76.01% 0.0766 -0.0981)
OKLCHoklch(76.01% 0.125 308)
XYZxyz(50.7042, 41.7583, 86.2614)
Luminance0.4176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C79BEE #C2EE9B
analogous
#9E9BEE #C79BEE #EE9BEC
triadic
#C79BEE #EEC79B #9BEEC7
tetradic
#C79BEE #EE9E9B #C2EE9B #9BECEE
square
#C79BEE #EE9E9B #C2EE9B #9BECEE
split-complementary
#C79BEE #ECEE9B #9BEE9E
monochromatic
#8C32DC #AA67E5 #C79BEE #E4CFF7 #F0E5FB

Accessibility & contrast

On white

2.25
#C79BEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#C79BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C79BEE
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C79BEE#FFFFFF#000000##000000
##C79BEE1.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BABF1
Deuteranopia (green-blind)
#94AEEC
Tritanopia (blue-blind)
#C2A7BA
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c79bee;
/* rgb */ color: rgb(199, 155, 238);
/* oklch */ color: oklch(76.0% 0.124 308.0);
Tailwind
colors: {
  custom: {
    50: '#d9b9f4',
    500: '#c79bee',
    950: '#000000',
  },
}
SCSS
$custom: #c79bee;
$custom-light: #d9b9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c79bee",
  "rgb": {
    "r": 199,
    "g": 155,
    "b": 238
  },
  "hsl": {
    "h": 271.807,
    "s": 70.94,
    "l": 77.059
  },
  "oklch": {
    "l": 0.76008,
    "c": 0.1245,
    "h": 308
  },
  "luminance": 0.41758
}

Semantic roles & 50–950 ramp

primary
#C79BEE
secondary
#E5F2D9
accent
#D3136D
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #C79BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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