#C387FA#C387FA

#C387FA is a light, vivid violet. Relative luminance 0.358; OKLCH L 72.8% C 0.170 H 306.7°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#C387FA
RGBrgb(195, 135, 250)
HSLhsl(271, 92%, 75%)
HSVhsv(271, 46%, 98%)
CMYKcmyk(22%, 46%, 0%, 2%)
CIE-LABlab(66.39, 44.20, -48.91)
CIE-LCHlch(66.39, 65.92, 312.10°)
OKLaboklab(72.84% 0.1019 -0.1366)
OKLCHoklch(72.84% 0.17 306.7)
XYZxyz(48.4215, 35.8326, 94.7894)
Luminance0.3583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C387FA #BEFA87
analogous
#8987FA #C387FA #FA87F8
triadic
#C387FA #FAC387 #87FAC3
tetradic
#C387FA #FA8987 #BEFA87 #87F8FA
square
#C387FA #FA8987 #BEFA87 #87F8FA
split-complementary
#C387FA #F8FA87 #87FA89
monochromatic
#8811F5 #A64CF8 #C387FA #E0C2FC #F0E2FE

Accessibility & contrast

On white

2.57
#C387FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#C387FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C387FA
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C387FA#FFFFFF#000000##000000
##C387FA1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#699FFE
Deuteranopia (green-blind)
#79A2F7
Tritanopia (blue-blind)
#BB9AB5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c387fa;
/* rgb */ color: rgb(195, 135, 250);
/* oklch */ color: oklch(72.8% 0.170 306.7);
Tailwind
colors: {
  custom: {
    50: '#d7abfc',
    500: '#c387fa',
    950: '#000000',
  },
}
SCSS
$custom: #c387fa;
$custom-light: #d7abfc;
$custom-dark: #000000;
JSON
{
  "hex": "#c387fa",
  "rgb": {
    "r": 195,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 271.304,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.7284,
    "c": 0.17046,
    "h": 306.7
  },
  "luminance": 0.35832
}

Semantic roles & 50–950 ramp

primary
#C387FA
secondary
#E5F6D5
accent
#E6006E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C387FA

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

Preview Lab → · Contrast checker → · Palette generator →

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