#B562FA#B562FA

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

Color values

HEX#B562FA
RGBrgb(181, 98, 250)
HSLhsl(273, 94%, 68%)
HSVhsv(273, 61%, 98%)
CMYKcmyk(27.6%, 60.8%, 0%, 2%)
CIE-LABlab(57.52, 59.88, -63.13)
CIE-LCHlch(57.52, 87.01, 313.49°)
OKLaboklab(65.96% 0.1316 -0.1784)
OKLCHoklch(65.96% 0.222 306.4)
XYZxyz(40.6754, 25.4616, 93.1957)
Luminance0.2546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B562FA #A7FA62
analogous
#6962FA #B562FA #FA62F3
triadic
#B562FA #FAB562 #62FAB5
tetradic
#B562FA #FA6962 #A7FA62 #62F3FA
square
#B562FA #FA6962 #A7FA62 #62F3FA
split-complementary
#B562FA #F3FA62 #62FA69
monochromatic
#7B07DB #9927F8 #B562FA #D19DFC #EDD9FE

Accessibility & contrast

On white

3.45
#B562FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#B562FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B562FA
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B562FA#FFFFFF#000000##000000
##B562FA1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A87FF
Deuteranopia (green-blind)
#438BF7
Tritanopia (blue-blind)
#AA81A5
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b562fa;
/* rgb */ color: rgb(181, 98, 250);
/* oklch */ color: oklch(66.0% 0.222 306.4);
Tailwind
colors: {
  custom: {
    50: '#cf93fd',
    500: '#b562fa',
    950: '#000000',
  },
}
SCSS
$custom: #b562fa;
$custom-light: #cf93fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b562fa",
  "rgb": {
    "r": 181,
    "g": 98,
    "b": 250
  },
  "hsl": {
    "h": 272.763,
    "s": 93.827,
    "l": 68.235
  },
  "oklch": {
    "l": 0.6596,
    "c": 0.22172,
    "h": 306.4
  },
  "luminance": 0.25461
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B562FA

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

Preview Lab → · Contrast checker → · Palette generator →

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