#B05DCA#B05DCA

#B05DCA is a mid, vivid purple. Relative luminance 0.213; OKLCH L 61.9% C 0.177 H 317.6°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#B05DCA
RGBrgb(176, 93, 202)
HSLhsl(286, 51%, 58%)
HSVhsv(286, 54%, 79%)
CMYKcmyk(12.9%, 54%, 0%, 20.8%)
CIE-LABlab(53.30, 50.84, -42.89)
CIE-LCHlch(53.30, 66.52, 319.85°)
OKLaboklab(61.88% 0.1306 -0.1194)
OKLCHoklch(61.88% 0.177 317.6)
XYZxyz(32.4780, 21.3242, 58.2708)
Luminance0.2132 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B05DCA #77CA5D
analogous
#795DCA #B05DCA #CA5DAE
triadic
#B05DCA #CAB05D #5DCAB0
tetradic
#B05DCA #CA795D #77CA5D #5DAECA
square
#B05DCA #CA795D #77CA5D #5DAECA
split-complementary
#B05DCA #AECA5D #5DCA79
monochromatic
#6D2B82 #943AB0 #B05DCA #C68BD9 #DDB9E8

Accessibility & contrast

On white

3.99
#B05DCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#B05DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B05DCA
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B05DCA#FFFFFF#000000##000000
##B05DCA1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#457ACE
Deuteranopia (green-blind)
#6182C7
Tritanopia (blue-blind)
#AF6E8B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b05dca;
/* rgb */ color: rgb(176, 93, 202);
/* oklch */ color: oklch(61.9% 0.177 317.6);
Tailwind
colors: {
  custom: {
    50: '#ca8eda',
    500: '#b05dca',
    950: '#000000',
  },
}
SCSS
$custom: #b05dca;
$custom-light: #ca8eda;
$custom-dark: #000000;
JSON
{
  "hex": "#b05dca",
  "rgb": {
    "r": 176,
    "g": 93,
    "b": 202
  },
  "hsl": {
    "h": 285.688,
    "s": 50.698,
    "l": 57.843
  },
  "oklch": {
    "l": 0.6188,
    "c": 0.17692,
    "h": 317.6
  },
  "luminance": 0.21323
}

Semantic roles & 50–950 ramp

primary
#B05DCA
secondary
#B6D7AC
accent
#DA4E6F
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130D15
muted
#827D83

Preview Lab

Preview with #B05DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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