#B562E9#B562E9

#B562E9 is a light, highly saturated violet. Relative luminance 0.244; OKLCH L 64.9% C 0.204 H 310.3°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#B562E9
RGBrgb(181, 98, 233)
HSLhsl(277, 75%, 65%)
HSVhsv(277, 58%, 91%)
CMYKcmyk(22.3%, 57.9%, 0%, 8.6%)
CIE-LABlab(56.53, 56.13, -55.26)
CIE-LCHlch(56.53, 78.77, 315.45°)
OKLaboklab(64.92% 0.1318 -0.1554)
OKLCHoklch(64.92% 0.204 310.3)
XYZxyz(38.1289, 24.4431, 79.7844)
Luminance0.2444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B562E9 #96E962
analogous
#7262E9 #B562E9 #E962D9
triadic
#B562E9 #E9B562 #62E9B5
tetradic
#B562E9 #E97262 #96E962 #62D9E9
square
#B562E9 #E97262 #96E962 #62D9E9
split-complementary
#B562E9 #D9E962 #62E972
monochromatic
#7A1AB7 #9C2CE1 #B562E9 #CE98F1 #E8CDF8

Accessibility & contrast

On white

3.57
#B562E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#B562E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B562E9
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B562E9#FFFFFF#000000##000000
##B562E91.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3284ED
Deuteranopia (green-blind)
#5489E6
Tritanopia (blue-blind)
#AE7B9C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b562e9;
/* rgb */ color: rgb(181, 98, 233);
/* oklch */ color: oklch(64.9% 0.204 310.3);
Tailwind
colors: {
  custom: {
    50: '#ce92f1',
    500: '#b562e9',
    950: '#000000',
  },
}
SCSS
$custom: #b562e9;
$custom-light: #ce92f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b562e9",
  "rgb": {
    "r": 181,
    "g": 98,
    "b": 233
  },
  "hsl": {
    "h": 276.889,
    "s": 75.419,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64917,
    "c": 0.20372,
    "h": 310.3
  },
  "luminance": 0.24442
}

Semantic roles & 50–950 ramp

primary
#B562E9
secondary
#CEEABC
accent
#D80E5C
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B562E9

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

Preview Lab → · Contrast checker → · Palette generator →

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