#C382EA#C382EA

#C382EA is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.2% C 0.160 H 311.7°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#C382EA
RGBrgb(195, 130, 234)
HSLhsl(278, 71%, 71%)
HSVhsv(278, 44%, 92%)
CMYKcmyk(16.7%, 44.4%, 0%, 8.2%)
CIE-LABlab(64.57, 43.38, -42.98)
CIE-LCHlch(64.57, 61.06, 315.27°)
OKLaboklab(71.23% 0.1065 -0.1194)
OKLCHoklch(71.23% 0.16 311.7)
XYZxyz(45.3370, 33.5087, 81.9055)
Luminance0.3351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C382EA #A9EA82
analogous
#8F82EA #C382EA #EA82DD
triadic
#C382EA #EAC382 #82EAC3
tetradic
#C382EA #EA8F82 #A9EA82 #82DDEA
square
#C382EA #EA8F82 #A9EA82 #82DDEA
split-complementary
#C382EA #DDEA82 #82EA8F
monochromatic
#8E23CF #AA4EE1 #C382EA #DCB6F3 #F2E5FB

Accessibility & contrast

On white

2.73
#C382EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#C382EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C382EA
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C382EA#FFFFFF#000000##000000
##C382EA1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C99EE
Deuteranopia (green-blind)
#7D9EE7
Tritanopia (blue-blind)
#BF92AB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c382ea;
/* rgb */ color: rgb(195, 130, 234);
/* oklch */ color: oklch(71.2% 0.160 311.7);
Tailwind
colors: {
  custom: {
    50: '#d7a8f1',
    500: '#c382ea',
    950: '#000000',
  },
}
SCSS
$custom: #c382ea;
$custom-light: #d7a8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c382ea",
  "rgb": {
    "r": 195,
    "g": 130,
    "b": 234
  },
  "hsl": {
    "h": 277.5,
    "s": 71.233,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71232,
    "c": 0.15997,
    "h": 311.7
  },
  "luminance": 0.33508
}

Semantic roles & 50–950 ramp

primary
#C382EA
secondary
#E1F1D6
accent
#D3125B
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C382EA

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

Preview Lab → · Contrast checker → · Palette generator →

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