#B562EF#B562EF

#B562EF is a light, highly saturated violet. Relative luminance 0.248; OKLCH L 65.3% C 0.210 H 308.9°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#B562EF
RGBrgb(181, 98, 239)
HSLhsl(275, 82%, 66%)
HSVhsv(275, 59%, 94%)
CMYKcmyk(24.3%, 59%, 0%, 6.3%)
CIE-LABlab(56.87, 57.44, -58.06)
CIE-LCHlch(56.87, 81.68, 314.69°)
OKLaboklab(65.28% 0.1318 -0.1636)
OKLCHoklch(65.28% 0.21 308.9)
XYZxyz(39.0006, 24.7917, 84.3754)
Luminance0.2479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B562EF #9CEF62
analogous
#6E62EF #B562EF #EF62E3
triadic
#B562EF #EFB562 #62EFB5
tetradic
#B562EF #EF6E62 #9CEF62 #62E3EF
square
#B562EF #EF6E62 #9CEF62 #62E3EF
split-complementary
#B562EF #E3EF62 #62EF6E
monochromatic
#7B14C3 #9B2AE9 #B562EF #CF9AF5 #E9D1FA

Accessibility & contrast

On white

3.52
#B562EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#B562EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B562EF
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B562EF#FFFFFF#000000##000000
##B562EF1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2985F3
Deuteranopia (green-blind)
#4F8AEC
Tritanopia (blue-blind)
#AD7D9F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b562ef;
/* rgb */ color: rgb(181, 98, 239);
/* oklch */ color: oklch(65.3% 0.210 308.9);
Tailwind
colors: {
  custom: {
    50: '#cf92f5',
    500: '#b562ef',
    950: '#000000',
  },
}
SCSS
$custom: #b562ef;
$custom-light: #cf92f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b562ef",
  "rgb": {
    "r": 181,
    "g": 98,
    "b": 239
  },
  "hsl": {
    "h": 275.319,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65278,
    "c": 0.21007,
    "h": 308.9
  },
  "luminance": 0.24791
}

Semantic roles & 50–950 ramp

primary
#B562EF
secondary
#D2EEBF
accent
#DE0860
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #B562EF

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

Preview Lab → · Contrast checker → · Palette generator →

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