#C790EA#C790EA

#C790EA is a light, vivid violet. Relative luminance 0.380; OKLCH L 73.9% C 0.138 H 311.4°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#C790EA
RGBrgb(199, 144, 234)
HSLhsl(277, 68%, 74%)
HSVhsv(277, 38%, 92%)
CMYKcmyk(15%, 38.5%, 0%, 8.2%)
CIE-LABlab(68.04, 36.95, -37.52)
CIE-LCHlch(68.04, 52.66, 314.57°)
OKLaboklab(73.94% 0.0914 -0.1037)
OKLCHoklch(73.94% 0.138 311.4)
XYZxyz(48.3751, 38.0299, 82.6181)
Luminance0.3803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C790EA #B3EA90
analogous
#9A90EA #C790EA #EA90E0
triadic
#C790EA #EAC790 #90EAC7
tetradic
#C790EA #EA9A90 #B3EA90 #90E0EA
square
#C790EA #EA9A90 #B3EA90 #90E0EA
split-complementary
#C790EA #E0EA90 #90EA9A
monochromatic
#9329D7 #AD5DE0 #C790EA #E1C3F4 #F2E5FA

Accessibility & contrast

On white

2.44
#C790EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#C790EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C790EA
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C790EA#FFFFFF#000000##000000
##C790EA1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA3ED
Deuteranopia (green-blind)
#8CA7E7
Tritanopia (blue-blind)
#C39DB2
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c790ea;
/* rgb */ color: rgb(199, 144, 234);
/* oklch */ color: oklch(73.9% 0.138 311.4);
Tailwind
colors: {
  custom: {
    50: '#d9b1f1',
    500: '#c790ea',
    950: '#000000',
  },
}
SCSS
$custom: #c790ea;
$custom-light: #d9b1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c790ea",
  "rgb": {
    "r": 199,
    "g": 144,
    "b": 234
  },
  "hsl": {
    "h": 276.667,
    "s": 68.182,
    "l": 74.118
  },
  "oklch": {
    "l": 0.73936,
    "c": 0.13821,
    "h": 311.4
  },
  "luminance": 0.38029
}

Semantic roles & 50–950 ramp

primary
#C790EA
secondary
#E3F2D9
accent
#D0155E
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151116
muted
#838084

Preview Lab

Preview with #C790EA

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

Preview Lab → · Contrast checker → · Palette generator →

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