#B562FB#B562FB

#B562FB is a light, highly saturated violet. Relative luminance 0.255; OKLCH L 66.0% C 0.223 H 306.2°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#B562FB
RGBrgb(181, 98, 251)
HSLhsl(273, 95%, 68%)
HSVhsv(273, 61%, 98%)
CMYKcmyk(27.9%, 61%, 0%, 1.6%)
CIE-LABlab(57.58, 60.11, -63.59)
CIE-LCHlch(57.58, 87.50, 313.39°)
OKLaboklab(66.02% 0.1316 -0.1798)
OKLCHoklch(66.02% 0.223 306.2)
XYZxyz(40.8326, 25.5245, 94.0237)
Luminance0.2552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B562FB #A8FB62
analogous
#6862FB #B562FB #FB62F4
triadic
#B562FB #FBB562 #62FBB5
tetradic
#B562FB #FB6862 #A8FB62 #62F4FB
square
#B562FB #FB6862 #A8FB62 #62F4FB
split-complementary
#B562FB #F4FB62 #62FB68
monochromatic
#7A06DD #9926F9 #B562FB #D19EFD #EDD9FE

Accessibility & contrast

On white

3.44
#B562FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#B562FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B562FB
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B562FB#FFFFFF#000000##000000
##B562FB1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0488FF
Deuteranopia (green-blind)
#428BF8
Tritanopia (blue-blind)
#A981A6
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b562fb;
/* rgb */ color: rgb(181, 98, 251);
/* oklch */ color: oklch(66.0% 0.223 306.2);
Tailwind
colors: {
  custom: {
    50: '#cf93fd',
    500: '#b562fb',
    950: '#000000',
  },
}
SCSS
$custom: #b562fb;
$custom-light: #cf93fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b562fb",
  "rgb": {
    "r": 181,
    "g": 98,
    "b": 251
  },
  "hsl": {
    "h": 272.549,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66023,
    "c": 0.22277,
    "h": 306.2
  },
  "luminance": 0.25524
}

Semantic roles & 50–950 ramp

primary
#B562FB
secondary
#DAF3C5
accent
#E60069
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B562FB

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

Preview Lab → · Contrast checker → · Palette generator →

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