#B386CD#B386CD

#B386CD is a light, moderate violet. Relative luminance 0.310; OKLCH L 68.9% C 0.112 H 312.6°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#B386CD
RGBrgb(179, 134, 205)
HSLhsl(278, 42%, 66%)
HSVhsv(278, 35%, 80%)
CMYKcmyk(12.7%, 34.6%, 0%, 19.6%)
CIE-LABlab(62.54, 30.22, -30.11)
CIE-LCHlch(62.54, 42.66, 315.11°)
OKLaboklab(68.91% 0.0761 -0.0828)
OKLCHoklch(68.91% 0.112 312.6)
XYZxyz(38.1331, 31.0423, 61.7287)
Luminance0.3104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B386CD #A0CD86
analogous
#9086CD #B386CD #CD86C4
triadic
#B386CD #CDB386 #86CDB3
tetradic
#B386CD #CD9086 #A0CD86 #86C4CD
square
#B386CD #CD9086 #A0CD86 #86C4CD
split-complementary
#B386CD #C4CD86 #86CD90
monochromatic
#783F99 #985BBB #B386CD #CEB1DF #E9DDF1

Accessibility & contrast

On white

2.91
#B386CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#B386CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B386CD
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B386CD#FFFFFF#000000##000000
##B386CD1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A95D0
Deuteranopia (green-blind)
#8498CB
Tritanopia (blue-blind)
#B18FA0
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b386cd;
/* rgb */ color: rgb(179, 134, 205);
/* oklch */ color: oklch(68.9% 0.112 312.6);
Tailwind
colors: {
  custom: {
    50: '#caaadc',
    500: '#b386cd',
    950: '#000000',
  },
}
SCSS
$custom: #b386cd;
$custom-light: #caaadc;
$custom-dark: #000000;
JSON
{
  "hex": "#b386cd",
  "rgb": {
    "r": 179,
    "g": 134,
    "b": 205
  },
  "hsl": {
    "h": 278.028,
    "s": 41.52,
    "l": 66.471
  },
  "oklch": {
    "l": 0.68913,
    "c": 0.11242,
    "h": 312.6
  },
  "luminance": 0.31042
}

Semantic roles & 50–950 ramp

primary
#B386CD
secondary
#D4E3CC
accent
#B53161
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #B386CD

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

Preview Lab → · Contrast checker → · Palette generator →

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