#B565F5#B565F5

#B565F5 is a light, highly saturated violet. Relative luminance 0.257; OKLCH L 66.0% C 0.212 H 307.2°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#B565F5
RGBrgb(181, 101, 245)
HSLhsl(273, 88%, 68%)
HSVhsv(273, 59%, 96%)
CMYKcmyk(26.1%, 58.8%, 0%, 3.9%)
CIE-LABlab(57.77, 57.29, -59.95)
CIE-LCHlch(57.77, 82.92, 313.70°)
OKLaboklab(66.05% 0.1282 -0.1691)
OKLCHoklch(66.05% 0.212 307.2)
XYZxyz(40.1878, 25.7242, 89.2166)
Luminance0.2572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B565F5 #A5F565
analogous
#6D65F5 #B565F5 #F565ED
triadic
#B565F5 #F5B565 #65F5B5
tetradic
#B565F5 #F56D65 #A5F565 #65EDF5
square
#B565F5 #F56D65 #A5F565 #65EDF5
split-complementary
#B565F5 #EDF565 #65F56D
monochromatic
#7B0ED2 #992CF1 #B565F5 #D19EF9 #ECD8FC

Accessibility & contrast

On white

3.42
#B565F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#B565F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B565F5
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B565F5#FFFFFF#000000##000000
##B565F51.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2788FA
Deuteranopia (green-blind)
#4D8CF2
Tritanopia (blue-blind)
#AB81A4
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b565f5;
/* rgb */ color: rgb(181, 101, 245);
/* oklch */ color: oklch(66.0% 0.212 307.2);
Tailwind
colors: {
  custom: {
    50: '#cf94f9',
    500: '#b565f5',
    950: '#000000',
  },
}
SCSS
$custom: #b565f5;
$custom-light: #cf94f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b565f5",
  "rgb": {
    "r": 181,
    "g": 101,
    "b": 245
  },
  "hsl": {
    "h": 273.333,
    "s": 87.805,
    "l": 67.843
  },
  "oklch": {
    "l": 0.66048,
    "c": 0.21221,
    "h": 307.2
  },
  "luminance": 0.25724
}

Semantic roles & 50–950 ramp

primary
#B565F5
secondary
#D8F1C5
accent
#E40166
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B565F5

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

Preview Lab → · Contrast checker → · Palette generator →

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