#C381EF#C381EF

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

Color values

HEX#C381EF
RGBrgb(195, 129, 239)
HSLhsl(276, 77%, 72%)
HSVhsv(276, 46%, 94%)
CMYKcmyk(18.4%, 46%, 0%, 6.3%)
CIE-LABlab(64.59, 44.99, -45.71)
CIE-LCHlch(64.59, 64.14, 314.55°)
OKLaboklab(71.32% 0.1086 -0.1273)
OKLCHoklch(71.32% 0.167 310.5)
XYZxyz(45.9331, 33.5354, 85.6979)
Luminance0.3353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C381EF #ADEF81
analogous
#8C81EF #C381EF #EF81E4
triadic
#C381EF #EFC381 #81EFC3
tetradic
#C381EF #EF8C81 #ADEF81 #81E4EF
square
#C381EF #EF8C81 #ADEF81 #81E4EF
split-complementary
#C381EF #E4EF81 #81EF8C
monochromatic
#8E1CDA #A94BE8 #C381EF #DDB7F6 #F2E4FC

Accessibility & contrast

On white

2.72
#C381EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#C381EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C381EF
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C381EF#FFFFFF#000000##000000
##C381EF1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6899F3
Deuteranopia (green-blind)
#799EEC
Tritanopia (blue-blind)
#BE92AD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c381ef;
/* rgb */ color: rgb(195, 129, 239);
/* oklch */ color: oklch(71.3% 0.167 310.5);
Tailwind
colors: {
  custom: {
    50: '#d7a7f4',
    500: '#c381ef',
    950: '#000000',
  },
}
SCSS
$custom: #c381ef;
$custom-light: #d7a7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c381ef",
  "rgb": {
    "r": 195,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 276,
    "s": 77.465,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71324,
    "c": 0.16731,
    "h": 310.5
  },
  "luminance": 0.33535
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C381EF

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

Preview Lab → · Contrast checker → · Palette generator →

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