#B562EB#B562EB

#B562EB is a light, highly saturated violet. Relative luminance 0.246; OKLCH L 65.0% C 0.206 H 309.8°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#B562EB
RGBrgb(181, 98, 235)
HSLhsl(276, 77%, 65%)
HSVhsv(276, 58%, 92%)
CMYKcmyk(23%, 58.3%, 0%, 7.8%)
CIE-LABlab(56.64, 56.57, -56.20)
CIE-LCHlch(56.64, 79.74, 315.19°)
OKLaboklab(65.04% 0.1318 -0.1581)
OKLCHoklch(65.04% 0.206 309.8)
XYZxyz(38.4163, 24.5580, 81.2976)
Luminance0.2456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B562EB #98EB62
analogous
#7062EB #B562EB #EB62DD
triadic
#B562EB #EBB562 #62EBB5
tetradic
#B562EB #EB7062 #98EB62 #62DDEB
square
#B562EB #EB7062 #98EB62 #62DDEB
split-complementary
#B562EB #DDEB62 #62EB70
monochromatic
#7B18BB #9B2CE4 #B562EB #CF98F2 #E8CFF9

Accessibility & contrast

On white

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

On black

5.91
#B562EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B562EB
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B562EB#FFFFFF#000000##000000
##B562EB1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F84EF
Deuteranopia (green-blind)
#5389E8
Tritanopia (blue-blind)
#AE7C9D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b562eb;
/* rgb */ color: rgb(181, 98, 235);
/* oklch */ color: oklch(65.0% 0.206 309.8);
Tailwind
colors: {
  custom: {
    50: '#ce92f2',
    500: '#b562eb',
    950: '#000000',
  },
}
SCSS
$custom: #b562eb;
$custom-light: #ce92f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b562eb",
  "rgb": {
    "r": 181,
    "g": 98,
    "b": 235
  },
  "hsl": {
    "h": 276.35,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.65037,
    "c": 0.20583,
    "h": 309.8
  },
  "luminance": 0.24557
}

Semantic roles & 50–950 ramp

primary
#B562EB
secondary
#D0EBBD
accent
#DA0C5D
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B562EB

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

Preview Lab → · Contrast checker → · Palette generator →

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