#C79EFE#C79EFE

#C79EFE is a light, vivid violet. Relative luminance 0.438; OKLCH L 77.3% C 0.140 H 302.9°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#C79EFE
RGBrgb(199, 158, 254)
HSLhsl(266, 98%, 81%)
HSVhsv(266, 38%, 100%)
CMYKcmyk(21.7%, 37.8%, 0%, 0.4%)
CIE-LABlab(72.06, 33.68, -42.16)
CIE-LCHlch(72.06, 53.96, 308.62°)
OKLaboklab(77.26% 0.0759 -0.1171)
OKLCHoklch(77.26% 0.14 302.9)
XYZxyz(53.6657, 43.7516, 99.3644)
Luminance0.4375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C79EFE #D5FE9E
analogous
#9EA5FE #C79EFE #F79EFE
triadic
#C79EFE #FEC79E #9EFEC7
tetradic
#C79EFE #FE9EA5 #D5FE9E #9EFEF7
square
#C79EFE #FE9EA5 #D5FE9E #9EFEF7
split-complementary
#C79EFE #FEF79E #A5FE9E
monochromatic
#8125FD #A461FD #C79EFE #EADBFF #EEE1FF

Accessibility & contrast

On white

2.15
#C79EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#C79EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C79EFE
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C79EFE#FFFFFF#000000##000000
##C79EFE1.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#87B0FF
Deuteranopia (green-blind)
#90B0FB
Tritanopia (blue-blind)
#BEADC2
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c79efe;
/* rgb */ color: rgb(199, 158, 254);
/* oklch */ color: oklch(77.3% 0.140 302.9);
Tailwind
colors: {
  custom: {
    50: '#d9bbff',
    500: '#c79efe',
    950: '#000000',
  },
}
SCSS
$custom: #c79efe;
$custom-light: #d9bbff;
$custom-dark: #000000;
JSON
{
  "hex": "#c79efe",
  "rgb": {
    "r": 199,
    "g": 158,
    "b": 254
  },
  "hsl": {
    "h": 265.625,
    "s": 97.959,
    "l": 80.784
  },
  "oklch": {
    "l": 0.77259,
    "c": 0.1395,
    "h": 302.9
  },
  "luminance": 0.43752
}

Semantic roles & 50–950 ramp

primary
#C79EFE
secondary
#E8F7D4
accent
#E60083
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #C79EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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