#B562F6#B562F6

#B562F6 is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 65.7% C 0.217 H 307.3°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#B562F6
RGBrgb(181, 98, 246)
HSLhsl(274, 89%, 67%)
HSVhsv(274, 60%, 96%)
CMYKcmyk(26.4%, 60.2%, 0%, 3.5%)
CIE-LABlab(57.28, 58.99, -61.30)
CIE-LCHlch(57.28, 85.07, 313.90°)
OKLaboklab(65.71% 0.1317 -0.1731)
OKLCHoklch(65.71% 0.217 307.3)
XYZxyz(40.0548, 25.2134, 89.9275)
Luminance0.2521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B562F6 #A3F662
analogous
#6B62F6 #B562F6 #F662ED
triadic
#B562F6 #F6B562 #62F6B5
tetradic
#B562F6 #F66B62 #A3F662 #62EDF6
square
#B562F6 #F66B62 #A3F662 #62EDF6
split-complementary
#B562F6 #EDF662 #62F66B
monochromatic
#7B0CD2 #9A28F3 #B562F6 #D09CF9 #ECD6FD

Accessibility & contrast

On white

3.48
#B562F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#B562F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B562F6
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B562F6#FFFFFF#000000##000000
##B562F61.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A87FB
Deuteranopia (green-blind)
#488AF3
Tritanopia (blue-blind)
#AB7FA3
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b562f6;
/* rgb */ color: rgb(181, 98, 246);
/* oklch */ color: oklch(65.7% 0.217 307.3);
Tailwind
colors: {
  custom: {
    50: '#cf93fa',
    500: '#b562f6',
    950: '#000000',
  },
}
SCSS
$custom: #b562f6;
$custom-light: #cf93fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b562f6",
  "rgb": {
    "r": 181,
    "g": 98,
    "b": 246
  },
  "hsl": {
    "h": 273.649,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.65709,
    "c": 0.21749,
    "h": 307.3
  },
  "luminance": 0.25213
}

Semantic roles & 50–950 ramp

primary
#B562F6
secondary
#D7F1C3
accent
#E60065
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B562F6

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

Preview Lab → · Contrast checker → · Palette generator →

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