#C381FA#C381FA

#C381FA is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.9% C 0.180 H 307.7°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#C381FA
RGBrgb(195, 129, 250)
HSLhsl(273, 92%, 74%)
HSVhsv(273, 48%, 98%)
CMYKcmyk(22%, 48.4%, 0%, 2%)
CIE-LABlab(65.13, 47.41, -50.92)
CIE-LCHlch(65.13, 69.57, 312.96°)
OKLaboklab(71.9% 0.1099 -0.1424)
OKLCHoklch(71.9% 0.18 307.7)
XYZxyz(47.6078, 34.2053, 94.5182)
Luminance0.3421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C381FA #B8FA81
analogous
#8781FA #C381FA #FA81F5
triadic
#C381FA #FAC381 #81FAC3
tetradic
#C381FA #FA8781 #B8FA81 #81F5FA
square
#C381FA #FA8781 #B8FA81 #81F5FA
split-complementary
#C381FA #F5FA81 #81FA87
monochromatic
#8B0BF5 #A746F8 #C381FA #DFBCFC #F1E2FE

Accessibility & contrast

On white

2.68
#C381FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#C381FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C381FA
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C381FA#FFFFFF#000000##000000
##C381FA1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#619BFE
Deuteranopia (green-blind)
#739FF7
Tritanopia (blue-blind)
#BB95B2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c381fa;
/* rgb */ color: rgb(195, 129, 250);
/* oklch */ color: oklch(71.9% 0.180 307.7);
Tailwind
colors: {
  custom: {
    50: '#d7a7fc',
    500: '#c381fa',
    950: '#000000',
  },
}
SCSS
$custom: #c381fa;
$custom-light: #d7a7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c381fa",
  "rgb": {
    "r": 195,
    "g": 129,
    "b": 250
  },
  "hsl": {
    "h": 272.727,
    "s": 92.366,
    "l": 74.314
  },
  "oklch": {
    "l": 0.71895,
    "c": 0.17993,
    "h": 307.7
  },
  "luminance": 0.34205
}

Semantic roles & 50–950 ramp

primary
#C381FA
secondary
#E4F6D5
accent
#E60068
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C381FA

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

Preview Lab → · Contrast checker → · Palette generator →

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