#B562EC#B562EC

#B562EC is a light, highly saturated violet. Relative luminance 0.246; OKLCH L 65.1% C 0.207 H 309.6°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#B562EC
RGBrgb(181, 98, 236)
HSLhsl(276, 78%, 65%)
HSVhsv(276, 58%, 93%)
CMYKcmyk(23.3%, 58.5%, 0%, 7.5%)
CIE-LABlab(56.70, 56.79, -56.66)
CIE-LCHlch(56.70, 80.22, 315.06°)
OKLaboklab(65.1% 0.1318 -0.1595)
OKLCHoklch(65.1% 0.207 309.6)
XYZxyz(38.5611, 24.6159, 82.0606)
Luminance0.2462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B562EC #99EC62
analogous
#7062EC #B562EC #EC62DE
triadic
#B562EC #ECB562 #62ECB5
tetradic
#B562EC #EC7062 #99EC62 #62DEEC
square
#B562EC #EC7062 #99EC62 #62DEEC
split-complementary
#B562EC #DEEC62 #62EC70
monochromatic
#7B17BD #9B2BE5 #B562EC #CF99F3 #E8CFF9

Accessibility & contrast

On white

3.55
#B562EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#B562EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B562EC
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B562EC#FFFFFF#000000##000000
##B562EC1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E84F0
Deuteranopia (green-blind)
#5289E9
Tritanopia (blue-blind)
#AE7C9E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b562ec;
/* rgb */ color: rgb(181, 98, 236);
/* oklch */ color: oklch(65.1% 0.207 309.6);
Tailwind
colors: {
  custom: {
    50: '#cf92f3',
    500: '#b562ec',
    950: '#000000',
  },
}
SCSS
$custom: #b562ec;
$custom-light: #cf92f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b562ec",
  "rgb": {
    "r": 181,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 276.087,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.65097,
    "c": 0.20689,
    "h": 309.6
  },
  "luminance": 0.24615
}

Semantic roles & 50–950 ramp

primary
#B562EC
secondary
#D0ECBE
accent
#DB0B5E
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B562EC

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

Preview Lab → · Contrast checker → · Palette generator →

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