#B562ED#B562ED

#B562ED is a light, highly saturated violet. Relative luminance 0.247; OKLCH L 65.2% C 0.208 H 309.3°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#B562ED
RGBrgb(181, 98, 237)
HSLhsl(276, 79%, 66%)
HSVhsv(276, 59%, 93%)
CMYKcmyk(23.6%, 58.6%, 0%, 7.1%)
CIE-LABlab(56.76, 57.01, -57.13)
CIE-LCHlch(56.76, 80.71, 314.94°)
OKLaboklab(65.16% 0.1318 -0.1608)
OKLCHoklch(65.16% 0.208 309.3)
XYZxyz(38.7068, 24.6742, 82.8279)
Luminance0.2467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B562ED #9AED62
analogous
#6F62ED #B562ED #ED62E0
triadic
#B562ED #EDB562 #62EDB5
tetradic
#B562ED #ED6F62 #9AED62 #62E0ED
square
#B562ED #ED6F62 #9AED62 #62E0ED
split-complementary
#B562ED #E0ED62 #62ED6F
monochromatic
#7B16BF #9B2BE7 #B562ED #CF99F3 #E9D0FA

Accessibility & contrast

On white

3.54
#B562ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#B562ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B562ED
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B562ED#FFFFFF#000000##000000
##B562ED1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C85F1
Deuteranopia (green-blind)
#5189EA
Tritanopia (blue-blind)
#AD7C9E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b562ed;
/* rgb */ color: rgb(181, 98, 237);
/* oklch */ color: oklch(65.2% 0.208 309.3);
Tailwind
colors: {
  custom: {
    50: '#cf92f3',
    500: '#b562ed',
    950: '#000000',
  },
}
SCSS
$custom: #b562ed;
$custom-light: #cf92f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b562ed",
  "rgb": {
    "r": 181,
    "g": 98,
    "b": 237
  },
  "hsl": {
    "h": 275.827,
    "s": 79.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65157,
    "c": 0.20795,
    "h": 309.3
  },
  "luminance": 0.24674
}

Semantic roles & 50–950 ramp

primary
#B562ED
secondary
#D1EDBE
accent
#DC0A5E
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B562ED

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

Preview Lab → · Contrast checker → · Palette generator →

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