#B562FD#B562FD

#B562FD is a light, highly saturated violet. Relative luminance 0.257; OKLCH L 66.1% C 0.225 H 305.8°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#B562FD
RGBrgb(181, 98, 253)
HSLhsl(272, 97%, 69%)
HSVhsv(272, 61%, 99%)
CMYKcmyk(28.5%, 61.3%, 0%, 0.8%)
CIE-LABlab(57.70, 60.56, -64.50)
CIE-LCHlch(57.70, 88.47, 313.20°)
OKLaboklab(66.15% 0.1315 -0.1824)
OKLCHoklch(66.15% 0.225 305.8)
XYZxyz(41.1495, 25.6513, 95.6928)
Luminance0.2565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B562FD #AAFD62
analogous
#6862FD #B562FD #FD62F7
triadic
#B562FD #FDB562 #62FDB5
tetradic
#B562FD #FD6862 #AAFD62 #62F7FD
square
#B562FD #FD6862 #AAFD62 #62F7FD
split-complementary
#B562FD #F7FD62 #62FD68
monochromatic
#7A03E2 #9926FC #B562FD #D19EFE #EEDBFF

Accessibility & contrast

On white

3.43
#B562FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#B562FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B562FD
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B562FD#FFFFFF#000000##000000
##B562FD1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#408BF9
Tritanopia (blue-blind)
#A982A7
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b562fd;
/* rgb */ color: rgb(181, 98, 253);
/* oklch */ color: oklch(66.1% 0.225 305.8);
Tailwind
colors: {
  custom: {
    50: '#cf93ff',
    500: '#b562fd',
    950: '#000000',
  },
}
SCSS
$custom: #b562fd;
$custom-light: #cf93ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b562fd",
  "rgb": {
    "r": 181,
    "g": 98,
    "b": 253
  },
  "hsl": {
    "h": 272.129,
    "s": 97.484,
    "l": 68.824
  },
  "oklch": {
    "l": 0.6615,
    "c": 0.22489,
    "h": 305.8
  },
  "luminance": 0.25651
}

Semantic roles & 50–950 ramp

primary
#B562FD
secondary
#DCF4C6
accent
#E6006B
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B562FD

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

Preview Lab → · Contrast checker → · Palette generator →

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