#B565E4#B565E4

#B565E4 is a light, vivid violet. Relative luminance 0.247; OKLCH L 65.0% C 0.194 H 311.2°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#B565E4
RGBrgb(181, 101, 228)
HSLhsl(278, 70%, 65%)
HSVhsv(278, 56%, 89%)
CMYKcmyk(20.6%, 55.7%, 0%, 10.6%)
CIE-LABlab(56.81, 53.55, -52.00)
CIE-LCHlch(56.81, 74.64, 315.84°)
OKLaboklab(65.04% 0.1279 -0.1458)
OKLCHoklch(65.04% 0.194 311.2)
XYZxyz(37.7108, 24.7334, 76.1712)
Luminance0.2473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B565E4 #94E465
analogous
#7665E4 #B565E4 #E465D4
triadic
#B565E4 #E4B565 #65E4B5
tetradic
#B565E4 #E47665 #94E465 #65D4E4
square
#B565E4 #E47665 #94E465 #65D4E4
split-complementary
#B565E4 #D4E465 #65E476
monochromatic
#7A1FB0 #9C31DB #B565E4 #CE99ED #E7CDF6

Accessibility & contrast

On white

3.53
#B565E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#B565E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B565E4
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B565E4#FFFFFF#000000##000000
##B565E41.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E84E8
Deuteranopia (green-blind)
#5B8AE1
Tritanopia (blue-blind)
#B07B9B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b565e4;
/* rgb */ color: rgb(181, 101, 228);
/* oklch */ color: oklch(65.0% 0.194 311.2);
Tailwind
colors: {
  custom: {
    50: '#ce94ed',
    500: '#b565e4',
    950: '#000000',
  },
}
SCSS
$custom: #b565e4;
$custom-light: #ce94ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b565e4",
  "rgb": {
    "r": 181,
    "g": 101,
    "b": 228
  },
  "hsl": {
    "h": 277.795,
    "s": 70.166,
    "l": 64.51
  },
  "oklch": {
    "l": 0.65037,
    "c": 0.19396,
    "h": 311.2
  },
  "luminance": 0.24733
}

Semantic roles & 50–950 ramp

primary
#B565E4
secondary
#CDE8BC
accent
#D2135A
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #B565E4

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

Preview Lab → · Contrast checker → · Palette generator →

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