#B561E2#B561E2

#B561E2 is a light, vivid violet. Relative luminance 0.239; OKLCH L 64.4% C 0.198 H 312.2°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#B561E2
RGBrgb(181, 97, 226)
HSLhsl(279, 69%, 63%)
HSVhsv(279, 57%, 89%)
CMYKcmyk(19.9%, 57.1%, 0%, 11.4%)
CIE-LABlab(55.95, 55.13, -52.25)
CIE-LCHlch(55.95, 75.96, 316.53°)
OKLaboklab(64.37% 0.1329 -0.1466)
OKLCHoklch(64.37% 0.198 312.2)
XYZxyz(37.0558, 23.8650, 74.5911)
Luminance0.2386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B561E2 #8EE261
analogous
#7461E2 #B561E2 #E261CE
triadic
#B561E2 #E2B561 #61E2B5
tetradic
#B561E2 #E27461 #8EE261 #61CEE2
square
#B561E2 #E27461 #8EE261 #61CEE2
split-complementary
#B561E2 #CEE261 #61E274
monochromatic
#791FA9 #9D2DD9 #B561E2 #CD95EB #E5C8F5

Accessibility & contrast

On white

3.64
#B561E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#B561E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B561E2
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B561E2#FFFFFF#000000##000000
##B561E21.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3982E6
Deuteranopia (green-blind)
#5988DF
Tritanopia (blue-blind)
#B07898
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b561e2;
/* rgb */ color: rgb(181, 97, 226);
/* oklch */ color: oklch(64.4% 0.198 312.2);
Tailwind
colors: {
  custom: {
    50: '#ce91ec',
    500: '#b561e2',
    950: '#000000',
  },
}
SCSS
$custom: #b561e2;
$custom-light: #ce91ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b561e2",
  "rgb": {
    "r": 181,
    "g": 97,
    "b": 226
  },
  "hsl": {
    "h": 279.07,
    "s": 68.984,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6437,
    "c": 0.19782,
    "h": 312.2
  },
  "luminance": 0.23864
}

Semantic roles & 50–950 ramp

primary
#B561E2
secondary
#C8E6B8
accent
#D11556
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #B561E2

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

Preview Lab → · Contrast checker → · Palette generator →

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