#C382FE#C382FE

#C382FE is a light, vivid violet. Relative luminance 0.347; OKLCH L 72.3% C 0.183 H 306.6°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#C382FE
RGBrgb(195, 130, 254)
HSLhsl(271, 98%, 75%)
HSVhsv(271, 49%, 100%)
CMYKcmyk(23.2%, 48.8%, 0%, 0.4%)
CIE-LABlab(65.53, 47.77, -52.46)
CIE-LCHlch(65.53, 70.95, 312.32°)
OKLaboklab(72.26% 0.109 -0.1469)
OKLCHoklch(72.26% 0.183 306.6)
XYZxyz(48.3741, 34.7236, 97.9006)
Luminance0.3472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C382FE #BDFE82
analogous
#8582FE #C382FE #FE82FB
triadic
#C382FE #FEC382 #82FEC3
tetradic
#C382FE #FE8582 #BDFE82 #82FBFE
square
#C382FE #FE8582 #BDFE82 #82FBFE
split-complementary
#C382FE #FBFE82 #82FE85
monochromatic
#8909FD #A645FE #C382FE #E0BFFE #F0E1FF

Accessibility & contrast

On white

2.64
#C382FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#C382FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C382FE
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C382FE#FFFFFF#000000##000000
##C382FE1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9DFF
Deuteranopia (green-blind)
#71A0FB
Tritanopia (blue-blind)
#BA97B4
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c382fe;
/* rgb */ color: rgb(195, 130, 254);
/* oklch */ color: oklch(72.3% 0.183 306.6);
Tailwind
colors: {
  custom: {
    50: '#d8a8ff',
    500: '#c382fe',
    950: '#000000',
  },
}
SCSS
$custom: #c382fe;
$custom-light: #d8a8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c382fe",
  "rgb": {
    "r": 195,
    "g": 130,
    "b": 254
  },
  "hsl": {
    "h": 271.452,
    "s": 98.413,
    "l": 75.294
  },
  "oklch": {
    "l": 0.72263,
    "c": 0.18298,
    "h": 306.6
  },
  "luminance": 0.34723
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C382FE

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

Preview Lab → · Contrast checker → · Palette generator →

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