#C79EE5#C79EE5

#C79EE5 is a light, moderate violet. Relative luminance 0.423; OKLCH L 76.2% C 0.108 H 310.3°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#C79EE5
RGBrgb(199, 158, 229)
HSLhsl(275, 58%, 76%)
HSVhsv(275, 31%, 90%)
CMYKcmyk(13.1%, 31%, 0%, 10.2%)
CIE-LABlab(71.05, 28.22, -30.12)
CIE-LCHlch(71.05, 41.27, 313.13°)
OKLaboklab(76.15% 0.0701 -0.0826)
OKLCHoklch(76.15% 0.108 310.3)
XYZxyz(49.9204, 42.2535, 79.6395)
Luminance0.4225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C79EE5 #BCE59E
analogous
#A39EE5 #C79EE5 #E59EDF
triadic
#C79EE5 #E5C79E #9EE5C7
tetradic
#C79EE5 #E5A39E #BCE59E #9EDFE5
square
#C79EE5 #E5A39E #BCE59E #9EDFE5
split-complementary
#C79EE5 #DFE59E #9EE5A3
monochromatic
#8F3DCB #AB6ED8 #C79EE5 #E3CEF2 #F1E7F9

Accessibility & contrast

On white

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

On black

9.45
#C79EE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C79EE5
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C79EE5#FFFFFF#000000##000000
##C79EE51.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92ACE8
Deuteranopia (green-blind)
#9AAFE3
Tritanopia (blue-blind)
#C4A8B8
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c79ee5;
/* rgb */ color: rgb(199, 158, 229);
/* oklch */ color: oklch(76.2% 0.108 310.3);
Tailwind
colors: {
  custom: {
    50: '#d8bbed',
    500: '#c79ee5',
    950: '#000000',
  },
}
SCSS
$custom: #c79ee5;
$custom-light: #d8bbed;
$custom-dark: #000000;
JSON
{
  "hex": "#c79ee5",
  "rgb": {
    "r": 199,
    "g": 158,
    "b": 229
  },
  "hsl": {
    "h": 274.648,
    "s": 57.724,
    "l": 75.882
  },
  "oklch": {
    "l": 0.76151,
    "c": 0.10833,
    "h": 310.3
  },
  "luminance": 0.42253
}

Semantic roles & 50–950 ramp

primary
#C79EE5
secondary
#E4F0DB
accent
#C52066
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141216
muted
#838184

Preview Lab

Preview with #C79EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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