#C381FF#C381FF

#C381FF is a light, vivid violet. Relative luminance 0.345; OKLCH L 72.2% C 0.186 H 306.5°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#C381FF
RGBrgb(195, 129, 255)
HSLhsl(271, 100%, 75%)
HSVhsv(271, 49%, 100%)
CMYKcmyk(23.5%, 49.4%, 0%, 0%)
CIE-LABlab(65.38, 48.52, -53.26)
CIE-LCHlch(65.38, 72.05, 312.34°)
OKLaboklab(72.16% 0.1105 -0.1493)
OKLCHoklch(72.16% 0.186 306.5)
XYZxyz(48.4022, 34.5230, 98.7021)
Luminance0.3452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C381FF #BDFF81
analogous
#8481FF #C381FF #FF81FC
triadic
#C381FF #FFC381 #81FFC3
tetradic
#C381FF #FF8481 #BDFF81 #81FCFF
square
#C381FF #FF8481 #BDFF81 #81FCFF
split-complementary
#C381FF #FCFF81 #81FF84
monochromatic
#8907FF #A644FF #C381FF #E0BEFF #F0E0FF

Accessibility & contrast

On white

2.66
#C381FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#C381FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C381FF
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C381FF#FFFFFF#000000##000000
##C381FF1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9CFF
Deuteranopia (green-blind)
#709FFC
Tritanopia (blue-blind)
#BA97B4
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c381ff;
/* rgb */ color: rgb(195, 129, 255);
/* oklch */ color: oklch(72.2% 0.186 306.5);
Tailwind
colors: {
  custom: {
    50: '#d8a7ff',
    500: '#c381ff',
    950: '#000000',
  },
}
SCSS
$custom: #c381ff;
$custom-light: #d8a7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c381ff",
  "rgb": {
    "r": 195,
    "g": 129,
    "b": 255
  },
  "hsl": {
    "h": 271.429,
    "s": 100,
    "l": 75.294
  },
  "oklch": {
    "l": 0.72163,
    "c": 0.18568,
    "h": 306.5
  },
  "luminance": 0.34523
}

Semantic roles & 50–950 ramp

primary
#C381FF
secondary
#E5F7D4
accent
#E6006D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C381FF

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

Preview Lab → · Contrast checker → · Palette generator →

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