#B562F8#B562F8

#B562F8 is a light, highly saturated violet. Relative luminance 0.253; OKLCH L 65.8% C 0.220 H 306.8°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#B562F8
RGBrgb(181, 98, 248)
HSLhsl(273, 91%, 68%)
HSVhsv(273, 60%, 97%)
CMYKcmyk(27%, 60.5%, 0%, 2.7%)
CIE-LABlab(57.40, 59.44, -62.21)
CIE-LCHlch(57.40, 86.04, 313.69°)
OKLaboklab(65.83% 0.1317 -0.1757)
OKLCHoklch(65.83% 0.22 306.8)
XYZxyz(40.3635, 25.3369, 91.5529)
Luminance0.2534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B562F8 #A5F862
analogous
#6A62F8 #B562F8 #F862F0
triadic
#B562F8 #F8B562 #62F8B5
tetradic
#B562F8 #F86A62 #A5F862 #62F0F8
square
#B562F8 #F86A62 #A5F862 #62F0F8
split-complementary
#B562F8 #F0F862 #62F86A
monochromatic
#7B0AD6 #9927F5 #B562F8 #D19DFB #ECD7FD

Accessibility & contrast

On white

3.46
#B562F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#B562F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B562F8
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B562F8#FFFFFF#000000##000000
##B562F81.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1387FD
Deuteranopia (green-blind)
#468AF5
Tritanopia (blue-blind)
#AA80A4
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b562f8;
/* rgb */ color: rgb(181, 98, 248);
/* oklch */ color: oklch(65.8% 0.220 306.8);
Tailwind
colors: {
  custom: {
    50: '#cf93fb',
    500: '#b562f8',
    950: '#000000',
  },
}
SCSS
$custom: #b562f8;
$custom-light: #cf93fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b562f8",
  "rgb": {
    "r": 181,
    "g": 98,
    "b": 248
  },
  "hsl": {
    "h": 273.2,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65834,
    "c": 0.2196,
    "h": 306.8
  },
  "luminance": 0.25336
}

Semantic roles & 50–950 ramp

primary
#B562F8
secondary
#D8F2C4
accent
#E60067
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B562F8

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

Preview Lab → · Contrast checker → · Palette generator →

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