#B565EC#B565EC

#B565EC is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 65.5% C 0.203 H 309.2°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#B565EC
RGBrgb(181, 101, 236)
HSLhsl(276, 78%, 66%)
HSVhsv(276, 57%, 93%)
CMYKcmyk(23.3%, 57.2%, 0%, 7.5%)
CIE-LABlab(57.26, 55.29, -55.77)
CIE-LCHlch(57.26, 78.53, 314.75°)
OKLaboklab(65.51% 0.1281 -0.1569)
OKLCHoklch(65.51% 0.203 309.2)
XYZxyz(38.8471, 25.1879, 82.1559)
Luminance0.2519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B565EC #9CEC65
analogous
#7165EC #B565EC #EC65DF
triadic
#B565EC #ECB565 #65ECB5
tetradic
#B565EC #EC7165 #9CEC65 #65DFEC
square
#B565EC #EC7165 #9CEC65 #65DFEC
split-complementary
#B565EC #DFEC65 #65EC71
monochromatic
#7B18BF #9B2FE5 #B565EC #CF9BF3 #E9D2F9

Accessibility & contrast

On white

3.48
#B565EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#B565EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B565EC
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B565EC#FFFFFF#000000##000000
##B565EC1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3586F0
Deuteranopia (green-blind)
#558BE9
Tritanopia (blue-blind)
#AD7E9F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b565ec;
/* rgb */ color: rgb(181, 101, 236);
/* oklch */ color: oklch(65.5% 0.203 309.2);
Tailwind
colors: {
  custom: {
    50: '#ce94f3',
    500: '#b565ec',
    950: '#000000',
  },
}
SCSS
$custom: #b565ec;
$custom-light: #ce94f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b565ec",
  "rgb": {
    "r": 181,
    "g": 101,
    "b": 236
  },
  "hsl": {
    "h": 275.556,
    "s": 78.035,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65505,
    "c": 0.20254,
    "h": 309.2
  },
  "luminance": 0.25187
}

Semantic roles & 50–950 ramp

primary
#B565EC
secondary
#D2EDC0
accent
#DA0B60
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B565EC

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

Preview Lab → · Contrast checker → · Palette generator →

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