#C381ED#C381ED

#C381ED is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.2% C 0.165 H 311.0°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#C381ED
RGBrgb(195, 129, 237)
HSLhsl(277, 75%, 72%)
HSVhsv(277, 46%, 93%)
CMYKcmyk(17.7%, 45.6%, 0%, 7.1%)
CIE-LABlab(64.50, 44.56, -44.75)
CIE-LCHlch(64.50, 63.15, 314.88°)
OKLaboklab(71.22% 0.1083 -0.1245)
OKLCHoklch(71.22% 0.165 311)
XYZxyz(45.6393, 33.4179, 84.1504)
Luminance0.3342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C381ED #ABED81
analogous
#8D81ED #C381ED #ED81E1
triadic
#C381ED #EDC381 #81EDC3
tetradic
#C381ED #ED8D81 #ABED81 #81E1ED
square
#C381ED #ED8D81 #ABED81 #81E1ED
split-complementary
#C381ED #E1ED81 #81ED8D
monochromatic
#8E1ED5 #AA4BE5 #C381ED #DDB7F5 #F2E4FB

Accessibility & contrast

On white

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

On black

7.68
#C381ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C381ED
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C381ED#FFFFFF#000000##000000
##C381ED1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6999F1
Deuteranopia (green-blind)
#7A9EEA
Tritanopia (blue-blind)
#BE92AC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c381ed;
/* rgb */ color: rgb(195, 129, 237);
/* oklch */ color: oklch(71.2% 0.165 311.0);
Tailwind
colors: {
  custom: {
    50: '#d7a7f3',
    500: '#c381ed',
    950: '#000000',
  },
}
SCSS
$custom: #c381ed;
$custom-light: #d7a7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c381ed",
  "rgb": {
    "r": 195,
    "g": 129,
    "b": 237
  },
  "hsl": {
    "h": 276.667,
    "s": 75,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71223,
    "c": 0.16503,
    "h": 311
  },
  "luminance": 0.33417
}

Semantic roles & 50–950 ramp

primary
#C381ED
secondary
#E2F3D7
accent
#D70E5C
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C381ED

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

Preview Lab → · Contrast checker → · Palette generator →

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