#C382EF#C382EF

#C382EF is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.5% C 0.166 H 310.3°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#C382EF
RGBrgb(195, 130, 239)
HSLhsl(276, 77%, 72%)
HSVhsv(276, 46%, 94%)
CMYKcmyk(18.4%, 45.6%, 0%, 6.3%)
CIE-LABlab(64.80, 44.46, -45.37)
CIE-LCHlch(64.80, 63.52, 314.42°)
OKLaboklab(71.48% 0.1072 -0.1263)
OKLCHoklch(71.48% 0.166 310.3)
XYZxyz(46.0654, 33.8001, 85.7420)
Luminance0.3380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C382EF #AEEF82
analogous
#8D82EF #C382EF #EF82E4
triadic
#C382EF #EFC382 #82EFC3
tetradic
#C382EF #EF8D82 #AEEF82 #82E4EF
square
#C382EF #EF8D82 #AEEF82 #82E4EF
split-complementary
#C382EF #E4EF82 #82EF8D
monochromatic
#8E1CDB #A94CE8 #C382EF #DDB8F6 #F2E4FC

Accessibility & contrast

On white

2.71
#C382EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#C382EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C382EF
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C382EF#FFFFFF#000000##000000
##C382EF1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#699AF3
Deuteranopia (green-blind)
#7A9EEC
Tritanopia (blue-blind)
#BE93AD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c382ef;
/* rgb */ color: rgb(195, 130, 239);
/* oklch */ color: oklch(71.5% 0.166 310.3);
Tailwind
colors: {
  custom: {
    50: '#d7a8f4',
    500: '#c382ef',
    950: '#000000',
  },
}
SCSS
$custom: #c382ef;
$custom-light: #d7a8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c382ef",
  "rgb": {
    "r": 195,
    "g": 130,
    "b": 239
  },
  "hsl": {
    "h": 275.78,
    "s": 77.305,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71482,
    "c": 0.16568,
    "h": 310.3
  },
  "luminance": 0.33799
}

Semantic roles & 50–950 ramp

primary
#C382EF
secondary
#E3F3D8
accent
#DA0C5F
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C382EF

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

Preview Lab → · Contrast checker → · Palette generator →

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