#B562DF#B562DF

#B562DF is a light, vivid violet. Relative luminance 0.239; OKLCH L 64.3% C 0.193 H 312.9°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#B562DF
RGBrgb(181, 98, 223)
HSLhsl(280, 66%, 63%)
HSVhsv(280, 56%, 87%)
CMYKcmyk(18.8%, 56.1%, 0%, 12.5%)
CIE-LABlab(55.98, 53.99, -50.53)
CIE-LCHlch(55.98, 73.95, 316.90°)
OKLaboklab(64.33% 0.1315 -0.1415)
OKLCHoklch(64.33% 0.193 312.9)
XYZxyz(36.7407, 23.8878, 72.4731)
Luminance0.2389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B562DF #8CDF62
analogous
#7662DF #B562DF #DF62CB
triadic
#B562DF #DFB562 #62DFB5
tetradic
#B562DF #DF7662 #8CDF62 #62CBDF
square
#B562DF #DF7662 #8CDF62 #62CBDF
split-complementary
#B562DF #CBDF62 #62DF76
monochromatic
#7922A5 #9D2FD5 #B562DF #CD95E9 #E5C8F4

Accessibility & contrast

On white

3.63
#B562DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#B562DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B562DF
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B562DF#FFFFFF#000000##000000
##B562DF1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E82E3
Deuteranopia (green-blind)
#5C88DC
Tritanopia (blue-blind)
#B17897
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b562df;
/* rgb */ color: rgb(181, 98, 223);
/* oklch */ color: oklch(64.3% 0.193 312.9);
Tailwind
colors: {
  custom: {
    50: '#ce92e9',
    500: '#b562df',
    950: '#000000',
  },
}
SCSS
$custom: #b562df;
$custom-light: #ce92e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b562df",
  "rgb": {
    "r": 181,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 279.84,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.64334,
    "c": 0.19316,
    "h": 312.9
  },
  "luminance": 0.23887
}

Semantic roles & 50–950 ramp

primary
#B562DF
secondary
#C7E5B8
accent
#CE1755
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #B562DF

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

Preview Lab → · Contrast checker → · Palette generator →

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