#C386F6#C386F6

#C386F6 is a light, vivid violet. Relative luminance 0.353; OKLCH L 72.5% C 0.167 H 307.9°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#C386F6
RGBrgb(195, 134, 246)
HSLhsl(273, 86%, 75%)
HSVhsv(273, 46%, 96%)
CMYKcmyk(20.7%, 45.5%, 0%, 3.5%)
CIE-LABlab(65.99, 43.84, -47.36)
CIE-LCHlch(65.99, 64.54, 312.79°)
OKLaboklab(72.47% 0.1027 -0.1321)
OKLCHoklch(72.47% 0.167 307.9)
XYZxyz(47.6621, 35.3067, 91.4749)
Luminance0.3531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C386F6 #B9F686
analogous
#8B86F6 #C386F6 #F686F1
triadic
#C386F6 #F6C386 #86F6C3
tetradic
#C386F6 #F68B86 #B9F686 #86F1F6
square
#C386F6 #F68B86 #B9F686 #86F1F6
split-complementary
#C386F6 #F1F686 #86F68B
monochromatic
#8B14EE #A74DF2 #C386F6 #DFBFFA #F1E3FD

Accessibility & contrast

On white

2.61
#C386F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#C386F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C386F6
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C386F6#FFFFFF#000000##000000
##C386F61.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9EFA
Deuteranopia (green-blind)
#7AA1F3
Tritanopia (blue-blind)
#BC98B2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #c386f6;
/* rgb */ color: rgb(195, 134, 246);
/* oklch */ color: oklch(72.5% 0.167 307.9);
Tailwind
colors: {
  custom: {
    50: '#d7aaf9',
    500: '#c386f6',
    950: '#000000',
  },
}
SCSS
$custom: #c386f6;
$custom-light: #d7aaf9;
$custom-dark: #000000;
JSON
{
  "hex": "#c386f6",
  "rgb": {
    "r": 195,
    "g": 134,
    "b": 246
  },
  "hsl": {
    "h": 272.679,
    "s": 86.154,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72474,
    "c": 0.16736,
    "h": 307.9
  },
  "luminance": 0.35306
}

Semantic roles & 50–950 ramp

primary
#C386F6
secondary
#E4F5D6
accent
#E30369
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C386F6

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

Preview Lab → · Contrast checker → · Palette generator →

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