#C388FA#C388FA

#C388FA is a light, vivid violet. Relative luminance 0.361; OKLCH L 73.0% C 0.169 H 306.6°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#C388FA
RGBrgb(195, 136, 250)
HSLhsl(271, 92%, 76%)
HSVhsv(271, 46%, 98%)
CMYKcmyk(22%, 45.6%, 0%, 2%)
CIE-LABlab(66.61, 43.66, -48.58)
CIE-LCHlch(66.61, 65.31, 311.95°)
OKLaboklab(73% 0.1006 -0.1356)
OKLCHoklch(73% 0.169 306.6)
XYZxyz(48.5617, 36.1130, 94.8362)
Luminance0.3611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C388FA #BFFA88
analogous
#8A88FA #C388FA #FA88F8
triadic
#C388FA #FAC388 #88FAC3
tetradic
#C388FA #FA8A88 #BFFA88 #88F8FA
square
#C388FA #FA8A88 #BFFA88 #88F8FA
split-complementary
#C388FA #F8FA88 #88FA8A
monochromatic
#8813F5 #A54DF8 #C388FA #E1C3FC #F0E2FE

Accessibility & contrast

On white

2.55
#C388FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#C388FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C388FA
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C388FA#FFFFFF#000000##000000
##C388FA1.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA0FE
Deuteranopia (green-blind)
#7AA2F7
Tritanopia (blue-blind)
#BB9BB5
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #c388fa;
/* rgb */ color: rgb(195, 136, 250);
/* oklch */ color: oklch(73.0% 0.169 306.6);
Tailwind
colors: {
  custom: {
    50: '#d7acfc',
    500: '#c388fa',
    950: '#000000',
  },
}
SCSS
$custom: #c388fa;
$custom-light: #d7acfc;
$custom-dark: #000000;
JSON
{
  "hex": "#c388fa",
  "rgb": {
    "r": 195,
    "g": 136,
    "b": 250
  },
  "hsl": {
    "h": 271.053,
    "s": 91.935,
    "l": 75.686
  },
  "oklch": {
    "l": 0.73,
    "c": 0.16886,
    "h": 306.6
  },
  "luminance": 0.36113
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C388FA

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

Preview Lab → · Contrast checker → · Palette generator →

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