#B565F2#B565F2

#B565F2 is a light, highly saturated violet. Relative luminance 0.255; OKLCH L 65.9% C 0.209 H 307.8°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#B565F2
RGBrgb(181, 101, 242)
HSLhsl(274, 84%, 67%)
HSVhsv(274, 58%, 95%)
CMYKcmyk(25.2%, 58.3%, 0%, 5.1%)
CIE-LABlab(57.60, 56.62, -58.57)
CIE-LCHlch(57.60, 81.46, 314.03°)
OKLaboklab(65.86% 0.1282 -0.1651)
OKLCHoklch(65.86% 0.209 307.8)
XYZxyz(39.7335, 25.5424, 86.8242)
Luminance0.2554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B565F2 #A2F265
analogous
#6F65F2 #B565F2 #F265E8
triadic
#B565F2 #F2B565 #65F2B5
tetradic
#B565F2 #F26F65 #A2F265 #65E8F2
square
#B565F2 #F26F65 #A2F265 #65E8F2
split-complementary
#B565F2 #E8F265 #65F26F
monochromatic
#7B11CB #9A2DED #B565F2 #D09DF7 #EBD6FC

Accessibility & contrast

On white

3.44
#B565F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#B565F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B565F2
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B565F2#FFFFFF#000000##000000
##B565F21.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C87F7
Deuteranopia (green-blind)
#508BEF
Tritanopia (blue-blind)
#AC80A2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b565f2;
/* rgb */ color: rgb(181, 101, 242);
/* oklch */ color: oklch(65.9% 0.209 307.8);
Tailwind
colors: {
  custom: {
    50: '#cf94f7',
    500: '#b565f2',
    950: '#000000',
  },
}
SCSS
$custom: #b565f2;
$custom-light: #cf94f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b565f2",
  "rgb": {
    "r": 181,
    "g": 101,
    "b": 242
  },
  "hsl": {
    "h": 274.043,
    "s": 84.431,
    "l": 67.255
  },
  "oklch": {
    "l": 0.65865,
    "c": 0.20899,
    "h": 307.8
  },
  "luminance": 0.25542
}

Semantic roles & 50–950 ramp

primary
#B565F2
secondary
#D6F0C3
accent
#E10564
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B565F2

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

Preview Lab → · Contrast checker → · Palette generator →

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