#C381EE#C381EE

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

Color values

HEX#C381EE
RGBrgb(195, 129, 238)
HSLhsl(276, 76%, 72%)
HSVhsv(276, 46%, 93%)
CMYKcmyk(18.1%, 45.8%, 0%, 6.7%)
CIE-LABlab(64.54, 44.78, -45.23)
CIE-LCHlch(64.54, 63.64, 314.71°)
OKLaboklab(71.27% 0.1084 -0.1259)
OKLCHoklch(71.27% 0.166 310.7)
XYZxyz(45.7858, 33.4765, 84.9220)
Luminance0.3348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C381EE #ACEE81
analogous
#8D81EE #C381EE #EE81E3
triadic
#C381EE #EEC381 #81EEC3
tetradic
#C381EE #EE8D81 #ACEE81 #81E3EE
square
#C381EE #EE8D81 #ACEE81 #81E3EE
split-complementary
#C381EE #E3EE81 #81EE8D
monochromatic
#8E1DD8 #A94BE7 #C381EE #DDB7F5 #F2E4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C381EE#FFFFFF#000000##000000
##C381EE1.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)
#6899F2
Deuteranopia (green-blind)
#7A9EEB
Tritanopia (blue-blind)
#BE92AC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c381ee;
/* rgb */ color: rgb(195, 129, 238);
/* oklch */ color: oklch(71.3% 0.166 310.7);
Tailwind
colors: {
  custom: {
    50: '#d7a7f4',
    500: '#c381ee',
    950: '#000000',
  },
}
SCSS
$custom: #c381ee;
$custom-light: #d7a7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c381ee",
  "rgb": {
    "r": 195,
    "g": 129,
    "b": 238
  },
  "hsl": {
    "h": 276.33,
    "s": 76.224,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71273,
    "c": 0.16616,
    "h": 310.7
  },
  "luminance": 0.33476
}

Semantic roles & 50–950 ramp

primary
#C381EE
secondary
#E3F3D8
accent
#D80D5D
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C381EE

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

Preview Lab → · Contrast checker → · Palette generator →

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