#B562FC#B562FC

#B562FC is a light, highly saturated violet. Relative luminance 0.256; OKLCH L 66.1% C 0.224 H 306.0°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#B562FC
RGBrgb(181, 98, 252)
HSLhsl(272, 96%, 69%)
HSVhsv(272, 61%, 99%)
CMYKcmyk(28.2%, 61.1%, 0%, 1.2%)
CIE-LABlab(57.64, 60.33, -64.04)
CIE-LCHlch(57.64, 87.99, 313.29°)
OKLaboklab(66.09% 0.1315 -0.1811)
OKLCHoklch(66.09% 0.224 306)
XYZxyz(40.9907, 25.5877, 94.8561)
Luminance0.2559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B562FC #A9FC62
analogous
#6862FC #B562FC #FC62F6
triadic
#B562FC #FCB562 #62FCB5
tetradic
#B562FC #FC6862 #A9FC62 #62F6FC
square
#B562FC #FC6862 #A9FC62 #62F6FC
split-complementary
#B562FC #F6FC62 #62FC68
monochromatic
#7A04DF #9926FB #B562FC #D19EFD #EEDAFE

Accessibility & contrast

On white

3.43
#B562FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#B562FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B562FC
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B562FC#FFFFFF#000000##000000
##B562FC1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#418BF8
Tritanopia (blue-blind)
#A981A6
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b562fc;
/* rgb */ color: rgb(181, 98, 252);
/* oklch */ color: oklch(66.1% 0.224 306.0);
Tailwind
colors: {
  custom: {
    50: '#cf93fe',
    500: '#b562fc',
    950: '#000000',
  },
}
SCSS
$custom: #b562fc;
$custom-light: #cf93fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b562fc",
  "rgb": {
    "r": 181,
    "g": 98,
    "b": 252
  },
  "hsl": {
    "h": 272.338,
    "s": 96.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66087,
    "c": 0.22383,
    "h": 306
  },
  "luminance": 0.25587
}

Semantic roles & 50–950 ramp

primary
#B562FC
secondary
#DBF4C6
accent
#E6006A
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B562FC

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

Preview Lab → · Contrast checker → · Palette generator →

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