#B562F2#B562F2

#B562F2 is a light, highly saturated violet. Relative luminance 0.250; OKLCH L 65.5% C 0.213 H 308.2°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#B562F2
RGBrgb(181, 98, 242)
HSLhsl(275, 85%, 67%)
HSVhsv(275, 60%, 95%)
CMYKcmyk(25.2%, 59.5%, 0%, 5.1%)
CIE-LABlab(57.05, 58.10, -59.45)
CIE-LCHlch(57.05, 83.13, 314.34°)
OKLaboklab(65.46% 0.1318 -0.1676)
OKLCHoklch(65.46% 0.213 308.2)
XYZxyz(39.4475, 24.9705, 86.7289)
Luminance0.2497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B562F2 #9FF262
analogous
#6D62F2 #B562F2 #F262E7
triadic
#B562F2 #F2B562 #62F2B5
tetradic
#B562F2 #F26D62 #9FF262 #62E7F2
square
#B562F2 #F26D62 #9FF262 #62E7F2
split-complementary
#B562F2 #E7F262 #62F26D
monochromatic
#7B11C9 #9A29ED #B562F2 #D09BF7 #EAD3FB

Accessibility & contrast

On white

3.50
#B562F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#B562F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B562F2
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B562F2#FFFFFF#000000##000000
##B562F21.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2386F7
Deuteranopia (green-blind)
#4C8AEF
Tritanopia (blue-blind)
#AC7EA1
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b562f2;
/* rgb */ color: rgb(181, 98, 242);
/* oklch */ color: oklch(65.5% 0.213 308.2);
Tailwind
colors: {
  custom: {
    50: '#cf92f7',
    500: '#b562f2',
    950: '#000000',
  },
}
SCSS
$custom: #b562f2;
$custom-light: #cf92f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b562f2",
  "rgb": {
    "r": 181,
    "g": 98,
    "b": 242
  },
  "hsl": {
    "h": 274.583,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65462,
    "c": 0.21325,
    "h": 308.2
  },
  "luminance": 0.2497
}

Semantic roles & 50–950 ramp

primary
#B562F2
secondary
#D4EFC1
accent
#E10462
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B562F2

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

Preview Lab → · Contrast checker → · Palette generator →

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