#C794EA#C794EA

#C794EA is a light, vivid violet. Relative luminance 0.393; OKLCH L 74.6% C 0.131 H 310.7°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#C794EA
RGBrgb(199, 148, 234)
HSLhsl(276, 67%, 75%)
HSVhsv(276, 37%, 92%)
CMYKcmyk(15%, 36.8%, 0%, 8.2%)
CIE-LABlab(68.94, 34.77, -36.12)
CIE-LCHlch(68.94, 50.13, 313.91°)
OKLaboklab(74.62% 0.0857 -0.0997)
OKLCHoklch(74.62% 0.131 310.7)
XYZxyz(48.9917, 39.2631, 82.8236)
Luminance0.3926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C794EA #B7EA94
analogous
#9C94EA #C794EA #EA94E2
triadic
#C794EA #EAC794 #94EAC7
tetradic
#C794EA #EA9C94 #B7EA94 #94E2EA
square
#C794EA #EA9C94 #B7EA94 #94E2EA
split-complementary
#C794EA #E2EA94 #94EA9C
monochromatic
#912ED6 #AC61E0 #C794EA #E2C7F4 #F2E5FA

Accessibility & contrast

On white

2.37
#C794EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#C794EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C794EA
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C794EA#FFFFFF#000000##000000
##C794EA1.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A6ED
Deuteranopia (green-blind)
#90A9E8
Tritanopia (blue-blind)
#C3A0B4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c794ea;
/* rgb */ color: rgb(199, 148, 234);
/* oklch */ color: oklch(74.6% 0.131 310.7);
Tailwind
colors: {
  custom: {
    50: '#d9b4f1',
    500: '#c794ea',
    950: '#000000',
  },
}
SCSS
$custom: #c794ea;
$custom-light: #d9b4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c794ea",
  "rgb": {
    "r": 199,
    "g": 148,
    "b": 234
  },
  "hsl": {
    "h": 275.581,
    "s": 67.187,
    "l": 74.902
  },
  "oklch": {
    "l": 0.74616,
    "c": 0.13145,
    "h": 310.7
  },
  "luminance": 0.39262
}

Semantic roles & 50–950 ramp

primary
#C794EA
secondary
#E3F1DA
accent
#CF1662
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #C794EA

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

Preview Lab → · Contrast checker → · Palette generator →

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