#C381DC#C381DC

#C381DC is a light, vivid purple. Relative luminance 0.325; OKLCH L 70.4% C 0.146 H 316.3°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#C381DC
RGBrgb(195, 129, 220)
HSLhsl(284, 57%, 68%)
HSVhsv(284, 41%, 86%)
CMYKcmyk(11.4%, 41.4%, 0%, 13.7%)
CIE-LABlab(63.73, 40.98, -36.52)
CIE-LCHlch(63.73, 54.89, 318.29°)
OKLaboklab(70.4% 0.1054 -0.1008)
OKLCHoklch(70.4% 0.146 316.3)
XYZxyz(43.2723, 32.4711, 71.6843)
Luminance0.3247 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C381DC #9ADC81
analogous
#9581DC #C381DC #DC81C8
triadic
#C381DC #DCC381 #81DCC3
tetradic
#C381DC #DC9581 #9ADC81 #81C8DC
square
#C381DC #DC9581 #9ADC81 #81C8DC
split-complementary
#C381DC #C8DC81 #81DC95
monochromatic
#8E31B1 #AC51CF #C381DC #DAB1E9 #F1E1F7

Accessibility & contrast

On white

2.80
#C381DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#C381DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C381DC
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C381DC#FFFFFF#000000##000000
##C381DC1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7296DF
Deuteranopia (green-blind)
#839CD9
Tritanopia (blue-blind)
#C28DA4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c381dc;
/* rgb */ color: rgb(195, 129, 220);
/* oklch */ color: oklch(70.4% 0.146 316.3);
Tailwind
colors: {
  custom: {
    50: '#d6a7e7',
    500: '#c381dc',
    950: '#000000',
  },
}
SCSS
$custom: #c381dc;
$custom-light: #d6a7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c381dc",
  "rgb": {
    "r": 195,
    "g": 129,
    "b": 220
  },
  "hsl": {
    "h": 283.516,
    "s": 56.522,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70397,
    "c": 0.14586,
    "h": 316.3
  },
  "luminance": 0.3247
}

Semantic roles & 50–950 ramp

primary
#C381DC
secondary
#D6EACF
accent
#C4214E
background
#FDFAFE
surface
#FAF4FC
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #C381DC

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

Preview Lab → · Contrast checker → · Palette generator →

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