#B562EA#B562EA

#B562EA is a light, highly saturated violet. Relative luminance 0.245; OKLCH L 65.0% C 0.205 H 310.1°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#B562EA
RGBrgb(181, 98, 234)
HSLhsl(277, 76%, 65%)
HSVhsv(277, 58%, 92%)
CMYKcmyk(22.6%, 58.1%, 0%, 8.2%)
CIE-LABlab(56.59, 56.35, -55.73)
CIE-LCHlch(56.59, 79.25, 315.32°)
OKLaboklab(64.98% 0.1318 -0.1567)
OKLCHoklch(64.98% 0.205 310.1)
XYZxyz(38.2722, 24.5004, 80.5388)
Luminance0.2450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B562EA #97EA62
analogous
#7162EA #B562EA #EA62DB
triadic
#B562EA #EAB562 #62EAB5
tetradic
#B562EA #EA7162 #97EA62 #62DBEA
square
#B562EA #EA7162 #97EA62 #62DBEA
split-complementary
#B562EA #DBEA62 #62EA71
monochromatic
#7A19B9 #9C2CE3 #B562EA #CE98F1 #E8CEF8

Accessibility & contrast

On white

3.56
#B562EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#B562EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B562EA
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B562EA#FFFFFF#000000##000000
##B562EA1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3184EE
Deuteranopia (green-blind)
#5389E7
Tritanopia (blue-blind)
#AE7B9D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b562ea;
/* rgb */ color: rgb(181, 98, 234);
/* oklch */ color: oklch(65.0% 0.205 310.1);
Tailwind
colors: {
  custom: {
    50: '#ce92f1',
    500: '#b562ea',
    950: '#000000',
  },
}
SCSS
$custom: #b562ea;
$custom-light: #ce92f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b562ea",
  "rgb": {
    "r": 181,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 276.618,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64977,
    "c": 0.20477,
    "h": 310.1
  },
  "luminance": 0.245
}

Semantic roles & 50–950 ramp

primary
#B562EA
secondary
#CFEBBD
accent
#D90D5C
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B562EA

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

Preview Lab → · Contrast checker → · Palette generator →

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