#C79EFA#C79EFA

#C79EFA is a light, vivid violet. Relative luminance 0.435; OKLCH L 77.1% C 0.134 H 303.9°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#C79EFA
RGBrgb(199, 158, 250)
HSLhsl(267, 90%, 80%)
HSVhsv(267, 37%, 98%)
CMYKcmyk(20.4%, 36.8%, 0%, 2%)
CIE-LABlab(71.89, 32.78, -40.26)
CIE-LCHlch(71.89, 51.92, 309.16°)
OKLaboklab(77.07% 0.075 -0.1116)
OKLCHoklch(77.07% 0.134 303.9)
XYZxyz(53.0318, 43.4981, 96.0261)
Luminance0.4350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C79EFA #D1FA9E
analogous
#9EA3FA #C79EFA #F59EFA
triadic
#C79EFA #FAC79E #9EFAC7
tetradic
#C79EFA #FA9EA3 #D1FA9E #9EFAF5
square
#C79EFA #FA9EA3 #D1FA9E #9EFAF5
split-complementary
#C79EFA #FAF59E #A3FA9E
monochromatic
#842AF4 #A564F7 #C79EFA #E9D8FD #EEE2FD

Accessibility & contrast

On white

2.17
#C79EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#C79EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C79EFA
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C79EFA#FFFFFF#000000##000000
##C79EFA1.002.179.709.70
#FFFFFF2.171.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AFFE
Deuteranopia (green-blind)
#92B0F7
Tritanopia (blue-blind)
#BFACC0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c79efa;
/* rgb */ color: rgb(199, 158, 250);
/* oklch */ color: oklch(77.1% 0.134 303.9);
Tailwind
colors: {
  custom: {
    50: '#d9bbfc',
    500: '#c79efa',
    950: '#000000',
  },
}
SCSS
$custom: #c79efa;
$custom-light: #d9bbfc;
$custom-dark: #000000;
JSON
{
  "hex": "#c79efa",
  "rgb": {
    "r": 199,
    "g": 158,
    "b": 250
  },
  "hsl": {
    "h": 266.739,
    "s": 90.196,
    "l": 80
  },
  "oklch": {
    "l": 0.77074,
    "c": 0.13448,
    "h": 303.9
  },
  "luminance": 0.43498
}

Semantic roles & 50–950 ramp

primary
#C79EFA
secondary
#E7F6D5
accent
#E6007F
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #C79EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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