#C381FE#C381FE

#C381FE is a light, vivid violet. Relative luminance 0.345; OKLCH L 72.1% C 0.185 H 306.7°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#C381FE
RGBrgb(195, 129, 254)
HSLhsl(272, 98%, 75%)
HSVhsv(272, 49%, 100%)
CMYKcmyk(23.2%, 49.2%, 0%, 0.4%)
CIE-LABlab(65.33, 48.30, -52.79)
CIE-LCHlch(65.33, 71.55, 312.46°)
OKLaboklab(72.11% 0.1104 -0.1479)
OKLCHoklch(72.11% 0.185 306.7)
XYZxyz(48.2417, 34.4588, 97.8565)
Luminance0.3446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C381FE #BCFE81
analogous
#8481FE #C381FE #FE81FA
triadic
#C381FE #FEC381 #81FEC3
tetradic
#C381FE #FE8481 #BCFE81 #81FAFE
square
#C381FE #FE8481 #BCFE81 #81FAFE
split-complementary
#C381FE #FAFE81 #81FE84
monochromatic
#8908FD #A644FE #C381FE #E0BEFE #F1E1FF

Accessibility & contrast

On white

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

On black

7.89
#C381FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C381FE
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C381FE#FFFFFF#000000##000000
##C381FE1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c381fe;
/* rgb */ color: rgb(195, 129, 254);
/* oklch */ color: oklch(72.1% 0.185 306.7);
Tailwind
colors: {
  custom: {
    50: '#d8a7ff',
    500: '#c381fe',
    950: '#000000',
  },
}
SCSS
$custom: #c381fe;
$custom-light: #d8a7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c381fe",
  "rgb": {
    "r": 195,
    "g": 129,
    "b": 254
  },
  "hsl": {
    "h": 271.68,
    "s": 98.425,
    "l": 75.098
  },
  "oklch": {
    "l": 0.72109,
    "c": 0.18453,
    "h": 306.7
  },
  "luminance": 0.34458
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C381FE

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

Preview Lab → · Contrast checker → · Palette generator →

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