#C386FA#C386FA

#C386FA is a light, vivid violet. Relative luminance 0.356; OKLCH L 72.7% C 0.172 H 306.9°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#C386FA
RGBrgb(195, 134, 250)
HSLhsl(272, 92%, 75%)
HSVhsv(272, 46%, 98%)
CMYKcmyk(22%, 46.4%, 0%, 2%)
CIE-LABlab(66.18, 44.73, -49.25)
CIE-LCHlch(66.18, 66.53, 312.25°)
OKLaboklab(72.68% 0.1033 -0.1376)
OKLCHoklch(72.68% 0.172 306.9)
XYZxyz(48.2826, 35.5549, 94.7431)
Luminance0.3555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C386FA #BDFA86
analogous
#8986FA #C386FA #FA86F7
triadic
#C386FA #FAC386 #86FAC3
tetradic
#C386FA #FA8986 #BDFA86 #86F7FA
square
#C386FA #FA8986 #BDFA86 #86F7FA
split-complementary
#C386FA #F7FA86 #86FA89
monochromatic
#8910F5 #A64BF8 #C386FA #E0C1FC #F0E2FE

Accessibility & contrast

On white

2.59
#C386FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#C386FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C386FA
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C386FA#FFFFFF#000000##000000
##C386FA1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#689FFE
Deuteranopia (green-blind)
#78A1F7
Tritanopia (blue-blind)
#BB99B4
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c386fa;
/* rgb */ color: rgb(195, 134, 250);
/* oklch */ color: oklch(72.7% 0.172 306.9);
Tailwind
colors: {
  custom: {
    50: '#d7aafc',
    500: '#c386fa',
    950: '#000000',
  },
}
SCSS
$custom: #c386fa;
$custom-light: #d7aafc;
$custom-dark: #000000;
JSON
{
  "hex": "#c386fa",
  "rgb": {
    "r": 195,
    "g": 134,
    "b": 250
  },
  "hsl": {
    "h": 271.552,
    "s": 92.063,
    "l": 75.294
  },
  "oklch": {
    "l": 0.7268,
    "c": 0.17204,
    "h": 306.9
  },
  "luminance": 0.35554
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C386FA

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

Preview Lab → · Contrast checker → · Palette generator →

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