#B562DA#B562DA

#B562DA is a light, vivid purple. Relative luminance 0.236; OKLCH L 64.1% C 0.188 H 314.3°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B562DA
RGBrgb(181, 98, 218)
HSLhsl(282, 62%, 62%)
HSVhsv(282, 55%, 85%)
CMYKcmyk(17%, 55%, 0%, 14.5%)
CIE-LABlab(55.71, 52.94, -48.13)
CIE-LCHlch(55.71, 71.55, 317.72°)
OKLaboklab(64.05% 0.1312 -0.1345)
OKLCHoklch(64.05% 0.188 314.3)
XYZxyz(36.0766, 23.6221, 68.9752)
Luminance0.2362 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B562DA #87DA62
analogous
#7962DA #B562DA #DA62C3
triadic
#B562DA #DAB562 #62DAB5
tetradic
#B562DA #DA7962 #87DA62 #62C3DA
square
#B562DA #DA7962 #87DA62 #62C3DA
split-complementary
#B562DA #C3DA62 #62DA79
monochromatic
#78259D #9E31CE #B562DA #CC94E6 #E4C5F1

Accessibility & contrast

On white

3.67
#B562DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#B562DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B562DA
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B562DA#FFFFFF#000000##000000
##B562DA1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4281DE
Deuteranopia (green-blind)
#5F88D7
Tritanopia (blue-blind)
#B27695
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b562da;
/* rgb */ color: rgb(181, 98, 218);
/* oklch */ color: oklch(64.1% 0.188 314.3);
Tailwind
colors: {
  custom: {
    50: '#ce92e6',
    500: '#b562da',
    950: '#000000',
  },
}
SCSS
$custom: #b562da;
$custom-light: #ce92e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b562da",
  "rgb": {
    "r": 181,
    "g": 98,
    "b": 218
  },
  "hsl": {
    "h": 281.5,
    "s": 61.856,
    "l": 61.961
  },
  "oklch": {
    "l": 0.64051,
    "c": 0.18793,
    "h": 314.3
  },
  "luminance": 0.23621
}

Semantic roles & 50–950 ramp

primary
#B562DA
secondary
#C3E2B6
accent
#CA1C51
background
#FCF9FE
surface
#F9F1FC
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B562DA

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

Preview Lab → · Contrast checker → · Palette generator →

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