#B562FF#B562FF

#B562FF is a light, highly saturated violet. Relative luminance 0.258; OKLCH L 66.3% C 0.227 H 305.4°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#B562FF
RGBrgb(181, 98, 255)
HSLhsl(272, 100%, 69%)
HSVhsv(272, 62%, 100%)
CMYKcmyk(29%, 61.6%, 0%, 0%)
CIE-LABlab(57.83, 61.01, -65.41)
CIE-LCHlch(57.83, 89.44, 313.01°)
OKLaboklab(66.28% 0.1314 -0.1851)
OKLCHoklch(66.28% 0.227 305.4)
XYZxyz(41.4698, 25.7794, 97.3796)
Luminance0.2578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B562FF #ACFF62
analogous
#6762FF #B562FF #FF62FA
triadic
#B562FF #FFB562 #62FFB5
tetradic
#B562FF #FF6762 #ACFF62 #62FAFF
square
#B562FF #FF6762 #ACFF62 #62FAFF
split-complementary
#B562FF #FAFF62 #62FF67
monochromatic
#7A00E7 #9825FF #B562FF #D29FFF #EFDCFF

Accessibility & contrast

On white

3.41
#B562FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#B562FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B562FF
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B562FF#FFFFFF#000000##000000
##B562FF1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#3D8BFB
Tritanopia (blue-blind)
#A882A8
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b562ff;
/* rgb */ color: rgb(181, 98, 255);
/* oklch */ color: oklch(66.3% 0.227 305.4);
Tailwind
colors: {
  custom: {
    50: '#d093ff',
    500: '#b562ff',
    950: '#000000',
  },
}
SCSS
$custom: #b562ff;
$custom-light: #d093ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b562ff",
  "rgb": {
    "r": 181,
    "g": 98,
    "b": 255
  },
  "hsl": {
    "h": 271.72,
    "s": 100,
    "l": 69.216
  },
  "oklch": {
    "l": 0.66278,
    "c": 0.22701,
    "h": 305.4
  },
  "luminance": 0.25779
}

Semantic roles & 50–950 ramp

primary
#B562FF
secondary
#DDF5C8
accent
#E6006C
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B562FF

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

Preview Lab → · Contrast checker → · Palette generator →

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