#B562F4#B562F4

#B562F4 is a light, highly saturated violet. Relative luminance 0.251; OKLCH L 65.6% C 0.215 H 307.7°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#B562F4
RGBrgb(181, 98, 244)
HSLhsl(274, 87%, 67%)
HSVhsv(274, 60%, 96%)
CMYKcmyk(25.8%, 59.8%, 0%, 4.3%)
CIE-LABlab(57.16, 58.55, -60.38)
CIE-LCHlch(57.16, 84.10, 314.12°)
OKLaboklab(65.59% 0.1318 -0.1703)
OKLCHoklch(65.59% 0.215 307.7)
XYZxyz(39.7495, 25.0913, 88.3195)
Luminance0.2509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B562F4 #A1F462
analogous
#6C62F4 #B562F4 #F462EA
triadic
#B562F4 #F4B562 #62F4B5
tetradic
#B562F4 #F46C62 #A1F462 #62EAF4
square
#B562F4 #F46C62 #A1F462 #62EAF4
split-complementary
#B562F4 #EAF462 #62F46C
monochromatic
#7B0ECD #9A29F0 #B562F4 #D09BF8 #EBD4FC

Accessibility & contrast

On white

3.49
#B562F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#B562F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B562F4
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B562F4#FFFFFF#000000##000000
##B562F41.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F86F9
Deuteranopia (green-blind)
#4A8AF1
Tritanopia (blue-blind)
#AB7FA2
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b562f4;
/* rgb */ color: rgb(181, 98, 244);
/* oklch */ color: oklch(65.6% 0.215 307.7);
Tailwind
colors: {
  custom: {
    50: '#cf92f8',
    500: '#b562f4',
    950: '#000000',
  },
}
SCSS
$custom: #b562f4;
$custom-light: #cf92f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b562f4",
  "rgb": {
    "r": 181,
    "g": 98,
    "b": 244
  },
  "hsl": {
    "h": 274.11,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.65585,
    "c": 0.21536,
    "h": 307.7
  },
  "luminance": 0.25091
}

Semantic roles & 50–950 ramp

primary
#B562F4
secondary
#D6F0C2
accent
#E30263
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B562F4

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

Preview Lab → · Contrast checker → · Palette generator →

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