#B565F8#B565F8

#B565F8 is a light, highly saturated violet. Relative luminance 0.259; OKLCH L 66.2% C 0.215 H 306.5°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#B565F8
RGBrgb(181, 101, 248)
HSLhsl(273, 91%, 68%)
HSVhsv(273, 59%, 97%)
CMYKcmyk(27%, 59.3%, 0%, 2.7%)
CIE-LABlab(57.95, 57.96, -61.34)
CIE-LCHlch(57.95, 84.39, 313.38°)
OKLaboklab(66.23% 0.1281 -0.1732)
OKLCHoklch(66.23% 0.215 306.5)
XYZxyz(40.6494, 25.9088, 91.6482)
Luminance0.2591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B565F8 #A8F865
analogous
#6B65F8 #B565F8 #F865F1
triadic
#B565F8 #F8B565 #65F8B5
tetradic
#B565F8 #F86B65 #A8F865 #65F1F8
square
#B565F8 #F86B65 #A8F865 #65F1F8
split-complementary
#B565F8 #F1F865 #65F86B
monochromatic
#7A0AD9 #992AF5 #B565F8 #D1A0FB #EDDAFD

Accessibility & contrast

On white

3.40
#B565F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#B565F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B565F8
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B565F8#FFFFFF#000000##000000
##B565F81.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2189FD
Deuteranopia (green-blind)
#4A8CF5
Tritanopia (blue-blind)
#AA82A5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b565f8;
/* rgb */ color: rgb(181, 101, 248);
/* oklch */ color: oklch(66.2% 0.215 306.5);
Tailwind
colors: {
  custom: {
    50: '#cf94fb',
    500: '#b565f8',
    950: '#000000',
  },
}
SCSS
$custom: #b565f8;
$custom-light: #cf94fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b565f8",
  "rgb": {
    "r": 181,
    "g": 101,
    "b": 248
  },
  "hsl": {
    "h": 272.653,
    "s": 91.304,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66233,
    "c": 0.21544,
    "h": 306.5
  },
  "luminance": 0.25908
}

Semantic roles & 50–950 ramp

primary
#B565F8
secondary
#DAF3C6
accent
#E60069
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B565F8

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

Preview Lab → · Contrast checker → · Palette generator →

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