#C79AED#C79AED

#C79AED is a light, vivid violet. Relative luminance 0.414; OKLCH L 75.8% C 0.125 H 308.5°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#C79AED
RGBrgb(199, 154, 237)
HSLhsl(273, 70%, 77%)
HSVhsv(273, 35%, 93%)
CMYKcmyk(16%, 35%, 0%, 7.1%)
CIE-LABlab(70.43, 32.12, -35.45)
CIE-LCHlch(70.43, 47.84, 312.18°)
OKLaboklab(75.79% 0.0778 -0.0978)
OKLCHoklch(75.79% 0.125 308.5)
XYZxyz(50.3920, 41.3682, 85.4345)
Luminance0.4137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C79AED #C0ED9A
analogous
#9E9AED #C79AED #ED9AEA
triadic
#C79AED #EDC79A #9AEDC7
tetradic
#C79AED #ED9E9A #C0ED9A #9AEAED
square
#C79AED #ED9E9A #C0ED9A #9AEAED
split-complementary
#C79AED #EAED9A #9AED9E
monochromatic
#8D32DA #AA66E4 #C79AED #E4CEF6 #F1E5FA

Accessibility & contrast

On white

2.26
#C79AED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#C79AED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C79AED
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C79AED#FFFFFF#000000##000000
##C79AED1.002.269.279.27
#FFFFFF2.261.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAAF0
Deuteranopia (green-blind)
#94ADEB
Tritanopia (blue-blind)
#C2A6B9
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c79aed;
/* rgb */ color: rgb(199, 154, 237);
/* oklch */ color: oklch(75.8% 0.125 308.5);
Tailwind
colors: {
  custom: {
    50: '#d9b8f3',
    500: '#c79aed',
    950: '#000000',
  },
}
SCSS
$custom: #c79aed;
$custom-light: #d9b8f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c79aed",
  "rgb": {
    "r": 199,
    "g": 154,
    "b": 237
  },
  "hsl": {
    "h": 272.53,
    "s": 69.748,
    "l": 76.667
  },
  "oklch": {
    "l": 0.75789,
    "c": 0.12494,
    "h": 308.5
  },
  "luminance": 0.41368
}

Semantic roles & 50–950 ramp

primary
#C79AED
secondary
#E4F2D9
accent
#D2146B
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #C79AED

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

Preview Lab → · Contrast checker → · Palette generator →

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