#C79DEC#C79DEC

#C79DEC is a light, moderate violet. Relative luminance 0.423; OKLCH L 76.3% C 0.119 H 308.1°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#C79DEC
RGBrgb(199, 157, 236)
HSLhsl(272, 68%, 77%)
HSVhsv(272, 33%, 93%)
CMYKcmyk(15.7%, 33.5%, 0%, 7.5%)
CIE-LABlab(71.09, 30.26, -33.89)
CIE-LCHlch(71.09, 45.43, 311.76°)
OKLaboklab(76.27% 0.0733 -0.0933)
OKLCHoklch(76.27% 0.119 308.1)
XYZxyz(50.7477, 42.3126, 84.8343)
Luminance0.4231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C79DEC #C2EC9D
analogous
#A09DEC #C79DEC #EC9DE9
triadic
#C79DEC #ECC79D #9DECC7
tetradic
#C79DEC #ECA09D #C2EC9D #9DE9EC
square
#C79DEC #ECA09D #C2EC9D #9DE9EC
split-complementary
#C79DEC #E9EC9D #9DECA0
monochromatic
#8C36D8 #AA6AE2 #C79DEC #E4D0F6 #F0E5FA

Accessibility & contrast

On white

2.22
#C79DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#C79DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C79DEC
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C79DEC#FFFFFF#000000##000000
##C79DEC1.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EACEF
Deuteranopia (green-blind)
#97AFEA
Tritanopia (blue-blind)
#C2A8BA
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c79dec;
/* rgb */ color: rgb(199, 157, 236);
/* oklch */ color: oklch(76.3% 0.119 308.1);
Tailwind
colors: {
  custom: {
    50: '#d9baf2',
    500: '#c79dec',
    950: '#000000',
  },
}
SCSS
$custom: #c79dec;
$custom-light: #d9baf2;
$custom-dark: #000000;
JSON
{
  "hex": "#c79dec",
  "rgb": {
    "r": 199,
    "g": 157,
    "b": 236
  },
  "hsl": {
    "h": 271.899,
    "s": 67.521,
    "l": 77.059
  },
  "oklch": {
    "l": 0.76272,
    "c": 0.11866,
    "h": 308.1
  },
  "luminance": 0.42312
}

Semantic roles & 50–950 ramp

primary
#C79DEC
secondary
#E5F2D9
accent
#CF166D
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #C79DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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