#C382FB#C382FB

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

Color values

HEX#C382FB
RGBrgb(195, 130, 251)
HSLhsl(272, 94%, 75%)
HSVhsv(272, 48%, 98%)
CMYKcmyk(22.3%, 48.2%, 0%, 1.6%)
CIE-LABlab(65.38, 47.10, -51.06)
CIE-LCHlch(65.38, 69.46, 312.69°)
OKLaboklab(72.1% 0.1087 -0.1428)
OKLCHoklch(72.1% 0.18 307.3)
XYZxyz(47.8974, 34.5329, 95.3903)
Luminance0.3453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C382FB #BAFB82
analogous
#8782FB #C382FB #FB82F7
triadic
#C382FB #FBC382 #82FBC3
tetradic
#C382FB #FB8782 #BAFB82 #82F7FB
square
#C382FB #FB8782 #BAFB82 #82F7FB
split-complementary
#C382FB #F7FB82 #82FB87
monochromatic
#8A0BF7 #A747F9 #C382FB #DFBDFD #F1E1FE

Accessibility & contrast

On white

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

On black

7.91
#C382FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C382FB
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C382FB#FFFFFF#000000##000000
##C382FB1.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#619CFF
Deuteranopia (green-blind)
#739FF8
Tritanopia (blue-blind)
#BB97B3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c382fb;
/* rgb */ color: rgb(195, 130, 251);
/* oklch */ color: oklch(72.1% 0.180 307.3);
Tailwind
colors: {
  custom: {
    50: '#d7a8fd',
    500: '#c382fb',
    950: '#000000',
  },
}
SCSS
$custom: #c382fb;
$custom-light: #d7a8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c382fb",
  "rgb": {
    "r": 195,
    "g": 130,
    "b": 251
  },
  "hsl": {
    "h": 272.231,
    "s": 93.798,
    "l": 74.706
  },
  "oklch": {
    "l": 0.72103,
    "c": 0.17951,
    "h": 307.3
  },
  "luminance": 0.34532
}

Semantic roles & 50–950 ramp

primary
#C382FB
secondary
#E4F6D5
accent
#E6006A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C382FB

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

Preview Lab → · Contrast checker → · Palette generator →

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