#B59EF2#B59EF2

#B59EF2 is a light, vivid violet. Relative luminance 0.407; OKLCH L 75.1% C 0.121 H 296.0°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#B59EF2
RGBrgb(181, 158, 242)
HSLhsl(256, 76%, 78%)
HSVhsv(256, 35%, 95%)
CMYKcmyk(25.2%, 34.7%, 0%, 5.1%)
CIE-LABlab(69.96, 25.74, -39.04)
CIE-LCHlch(69.96, 46.76, 303.40°)
OKLaboklab(75.11% 0.0528 -0.1084)
OKLCHoklch(75.11% 0.121 296)
XYZxyz(47.3062, 40.6878, 89.3484)
Luminance0.4069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B59EF2 #DBF29E
analogous
#9EB1F2 #B59EF2 #DF9EF2
triadic
#B59EF2 #F2B59E #9EF2B5
tetradic
#B59EF2 #F29EB1 #DBF29E #9EF2DF
square
#B59EF2 #F29EB1 #DBF29E #9EF2DF
split-complementary
#B59EF2 #F2DF9E #B1F29E
monochromatic
#6332E4 #8C68EB #B59EF2 #DED4F9 #EAE4FB

Accessibility & contrast

On white

2.30
#B59EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#B59EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B59EF2
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B59EF2#FFFFFF#000000##000000
##B59EF21.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#89ABF5
Deuteranopia (green-blind)
#8CAAF0
Tritanopia (blue-blind)
#A9ACBD
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b59ef2;
/* rgb */ color: rgb(181, 158, 242);
/* oklch */ color: oklch(75.1% 0.121 296.0);
Tailwind
colors: {
  custom: {
    50: '#ccbaf6',
    500: '#b59ef2',
    950: '#000000',
  },
}
SCSS
$custom: #b59ef2;
$custom-light: #ccbaf6;
$custom-dark: #000000;
JSON
{
  "hex": "#b59ef2",
  "rgb": {
    "r": 181,
    "g": 158,
    "b": 242
  },
  "hsl": {
    "h": 256.429,
    "s": 76.364,
    "l": 78.431
  },
  "oklch": {
    "l": 0.75109,
    "c": 0.1206,
    "h": 296
  },
  "luminance": 0.40688
}

Semantic roles & 50–950 ramp

primary
#B59EF2
secondary
#ECF3D8
accent
#D90DA1
background
#FCFBFF
surface
#F9F6FE
border
#D2D0D6
text
#131117
muted
#828085

Preview Lab

Preview with #B59EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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