#C381EB#C381EB

#C381EB is a light, vivid violet. Relative luminance 0.333; OKLCH L 71.1% C 0.163 H 311.6°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#C381EB
RGBrgb(195, 129, 235)
HSLhsl(277, 73%, 71%)
HSVhsv(277, 45%, 92%)
CMYKcmyk(17%, 45.1%, 0%, 7.8%)
CIE-LABlab(64.40, 44.13, -43.79)
CIE-LCHlch(64.40, 62.17, 315.22°)
OKLaboklab(71.12% 0.108 -0.1217)
OKLCHoklch(71.12% 0.163 311.6)
XYZxyz(45.3487, 33.3016, 82.6201)
Luminance0.3330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C381EB #A9EB81
analogous
#8E81EB #C381EB #EB81DE
triadic
#C381EB #EBC381 #81EBC3
tetradic
#C381EB #EB8E81 #A9EB81 #81DEEB
square
#C381EB #EB8E81 #A9EB81 #81DEEB
split-complementary
#C381EB #DEEB81 #81EB8E
monochromatic
#8E21D1 #AA4CE3 #C381EB #DCB6F3 #F2E5FB

Accessibility & contrast

On white

2.74
#C381EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#C381EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C381EB
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C381EB#FFFFFF#000000##000000
##C381EB1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A99EF
Deuteranopia (green-blind)
#7C9EE8
Tritanopia (blue-blind)
#BF91AB
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c381eb;
/* rgb */ color: rgb(195, 129, 235);
/* oklch */ color: oklch(71.1% 0.163 311.6);
Tailwind
colors: {
  custom: {
    50: '#d7a7f2',
    500: '#c381eb',
    950: '#000000',
  },
}
SCSS
$custom: #c381eb;
$custom-light: #d7a7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c381eb",
  "rgb": {
    "r": 195,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 277.358,
    "s": 72.603,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71123,
    "c": 0.16274,
    "h": 311.6
  },
  "luminance": 0.33301
}

Semantic roles & 50–950 ramp

primary
#C381EB
secondary
#E1F2D6
accent
#D5115B
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C381EB

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

Preview Lab → · Contrast checker → · Palette generator →

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