#C381EA#C381EA

#C381EA is a light, vivid violet. Relative luminance 0.332; OKLCH L 71.1% C 0.162 H 311.9°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#C381EA
RGBrgb(195, 129, 234)
HSLhsl(278, 71%, 71%)
HSVhsv(278, 45%, 92%)
CMYKcmyk(16.7%, 44.9%, 0%, 8.2%)
CIE-LABlab(64.36, 43.92, -43.31)
CIE-LCHlch(64.36, 61.68, 315.40°)
OKLaboklab(71.07% 0.1078 -0.1204)
OKLCHoklch(71.07% 0.162 311.9)
XYZxyz(45.2046, 33.2440, 81.8613)
Luminance0.3324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C381EA #A8EA81
analogous
#8E81EA #C381EA #EA81DD
triadic
#C381EA #EAC381 #81EAC3
tetradic
#C381EA #EA8E81 #A8EA81 #81DDEA
square
#C381EA #EA8E81 #A8EA81 #81DDEA
split-complementary
#C381EA #DDEA81 #81EA8E
monochromatic
#8E22CE #AA4DE1 #C381EA #DCB5F3 #F3E5FB

Accessibility & contrast

On white

2.75
#C381EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#C381EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C381EA
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C381EA#FFFFFF#000000##000000
##C381EA1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B99EE
Deuteranopia (green-blind)
#7C9DE7
Tritanopia (blue-blind)
#BF91AA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c381ea;
/* rgb */ color: rgb(195, 129, 234);
/* oklch */ color: oklch(71.1% 0.162 311.9);
Tailwind
colors: {
  custom: {
    50: '#d7a7f1',
    500: '#c381ea',
    950: '#000000',
  },
}
SCSS
$custom: #c381ea;
$custom-light: #d7a7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c381ea",
  "rgb": {
    "r": 195,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 277.714,
    "s": 71.429,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71073,
    "c": 0.1616,
    "h": 311.9
  },
  "luminance": 0.33243
}

Semantic roles & 50–950 ramp

primary
#C381EA
secondary
#E0F1D6
accent
#D3125A
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C381EA

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

Preview Lab → · Contrast checker → · Palette generator →

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