#B562F5#B562F5

#B562F5 is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 65.6% C 0.216 H 307.5°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#B562F5
RGBrgb(181, 98, 245)
HSLhsl(274, 88%, 67%)
HSVhsv(274, 60%, 96%)
CMYKcmyk(26.1%, 60%, 0%, 3.9%)
CIE-LABlab(57.22, 58.77, -60.84)
CIE-LCHlch(57.22, 84.59, 314.01°)
OKLaboklab(65.65% 0.1317 -0.1717)
OKLCHoklch(65.65% 0.216 307.5)
XYZxyz(39.9018, 25.1522, 89.1213)
Luminance0.2515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B562F5 #A2F562
analogous
#6C62F5 #B562F5 #F562EB
triadic
#B562F5 #F5B562 #62F5B5
tetradic
#B562F5 #F56C62 #A2F562 #62EBF5
square
#B562F5 #F56C62 #A2F562 #62EBF5
split-complementary
#B562F5 #EBF562 #62F56C
monochromatic
#7B0DCF #9A28F1 #B562F5 #D09CF9 #EBD5FC

Accessibility & contrast

On white

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

On black

6.03
#B562F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B562F5
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B562F5#FFFFFF#000000##000000
##B562F51.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C86FA
Deuteranopia (green-blind)
#498AF2
Tritanopia (blue-blind)
#AB7FA3
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b562f5;
/* rgb */ color: rgb(181, 98, 245);
/* oklch */ color: oklch(65.6% 0.216 307.5);
Tailwind
colors: {
  custom: {
    50: '#cf93f9',
    500: '#b562f5',
    950: '#000000',
  },
}
SCSS
$custom: #b562f5;
$custom-light: #cf93f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b562f5",
  "rgb": {
    "r": 181,
    "g": 98,
    "b": 245
  },
  "hsl": {
    "h": 273.878,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.65647,
    "c": 0.21642,
    "h": 307.5
  },
  "luminance": 0.25152
}

Semantic roles & 50–950 ramp

primary
#B562F5
secondary
#D6F1C2
accent
#E50164
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B562F5

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

Preview Lab → · Contrast checker → · Palette generator →

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