#B388CA#B388CA

#B388CA is a light, moderate violet. Relative luminance 0.315; OKLCH L 69.1% C 0.105 H 313.4°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#B388CA
RGBrgb(179, 136, 202)
HSLhsl(279, 38%, 66%)
HSVhsv(279, 33%, 79%)
CMYKcmyk(11.4%, 32.7%, 0%, 20.8%)
CIE-LABlab(62.89, 28.47, -27.89)
CIE-LCHlch(62.89, 39.85, 315.59°)
OKLaboklab(69.14% 0.0724 -0.0765)
OKLCHoklch(69.14% 0.105 313.4)
XYZxyz(38.0535, 31.4569, 59.9328)
Luminance0.3146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B388CA #9FCA88
analogous
#9288CA #B388CA #CA88C0
triadic
#B388CA #CAB388 #88CAB3
tetradic
#B388CA #CA9288 #9FCA88 #88C0CA
square
#B388CA #CA9288 #9FCA88 #88C0CA
split-complementary
#B388CA #C0CA88 #88CA92
monochromatic
#784295 #985EB7 #B388CA #CEB2DD #E9DDF0

Accessibility & contrast

On white

2.88
#B388CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#B388CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B388CA
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B388CA#FFFFFF#000000##000000
##B388CA1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D96CD
Deuteranopia (green-blind)
#8799C8
Tritanopia (blue-blind)
#B190A0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b388ca;
/* rgb */ color: rgb(179, 136, 202);
/* oklch */ color: oklch(69.1% 0.105 313.4);
Tailwind
colors: {
  custom: {
    50: '#caabda',
    500: '#b388ca',
    950: '#000000',
  },
}
SCSS
$custom: #b388ca;
$custom-light: #caabda;
$custom-dark: #000000;
JSON
{
  "hex": "#b388ca",
  "rgb": {
    "r": 179,
    "g": 136,
    "b": 202
  },
  "hsl": {
    "h": 279.091,
    "s": 38.372,
    "l": 66.275
  },
  "oklch": {
    "l": 0.69138,
    "c": 0.10527,
    "h": 313.4
  },
  "luminance": 0.31456
}

Semantic roles & 50–950 ramp

primary
#B388CA
secondary
#D4E2CC
accent
#B13460
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#131015
muted
#827F83

Preview Lab

Preview with #B388CA

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

Preview Lab → · Contrast checker → · Palette generator →

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