#B562F9#B562F9

#B562F9 is a light, highly saturated violet. Relative luminance 0.254; OKLCH L 65.9% C 0.221 H 306.6°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#B562F9
RGBrgb(181, 98, 249)
HSLhsl(273, 93%, 68%)
HSVhsv(273, 61%, 98%)
CMYKcmyk(27.3%, 60.6%, 0%, 2.4%)
CIE-LABlab(57.46, 59.66, -62.67)
CIE-LCHlch(57.46, 86.53, 313.59°)
OKLaboklab(65.9% 0.1316 -0.1771)
OKLCHoklch(65.9% 0.221 306.6)
XYZxyz(40.5190, 25.3991, 92.3721)
Luminance0.2540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B562F9 #A6F962
analogous
#6962F9 #B562F9 #F962F2
triadic
#B562F9 #F9B562 #62F9B5
tetradic
#B562F9 #F96962 #A6F962 #62F2F9
square
#B562F9 #F96962 #A6F962 #62F2F9
split-complementary
#B562F9 #F2F962 #62F969
monochromatic
#7B08D8 #9927F7 #B562F9 #D19DFB #EDD8FE

Accessibility & contrast

On white

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

On black

6.08
#B562F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B562F9
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B562F9#FFFFFF#000000##000000
##B562F91.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F87FE
Deuteranopia (green-blind)
#458BF6
Tritanopia (blue-blind)
#AA80A5
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b562f9;
/* rgb */ color: rgb(181, 98, 249);
/* oklch */ color: oklch(65.9% 0.221 306.6);
Tailwind
colors: {
  custom: {
    50: '#cf93fc',
    500: '#b562f9',
    950: '#000000',
  },
}
SCSS
$custom: #b562f9;
$custom-light: #cf93fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b562f9",
  "rgb": {
    "r": 181,
    "g": 98,
    "b": 249
  },
  "hsl": {
    "h": 272.98,
    "s": 92.638,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65897,
    "c": 0.22066,
    "h": 306.6
  },
  "luminance": 0.25399
}

Semantic roles & 50–950 ramp

primary
#B562F9
secondary
#D9F2C4
accent
#E60067
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B562F9

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

Preview Lab → · Contrast checker → · Palette generator →

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