#B59EF7#B59EF7

#B59EF7 is a light, vivid violet. Relative luminance 0.410; OKLCH L 75.3% C 0.127 H 295.0°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#B59EF7
RGBrgb(181, 158, 247)
HSLhsl(256, 85%, 79%)
HSVhsv(256, 36%, 97%)
CMYKcmyk(26.7%, 36%, 0%, 3.1%)
CIE-LABlab(70.17, 26.93, -41.43)
CIE-LCHlch(70.17, 49.42, 303.03°)
OKLaboklab(75.34% 0.0539 -0.1153)
OKLCHoklch(75.34% 0.127 295)
XYZxyz(48.0674, 40.9923, 93.3575)
Luminance0.4099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B59EF7 #E0F79E
analogous
#9EB4F7 #B59EF7 #E29EF7
triadic
#B59EF7 #F7B59E #9EF7B5
tetradic
#B59EF7 #F79EB4 #E0F79E #9EF7E2
square
#B59EF7 #F79EB4 #E0F79E #9EF7E2
split-complementary
#B59EF7 #F7E29E #B4F79E
monochromatic
#5F2DEE #8A65F2 #B59EF7 #E0D7FC #E9E3FD

Accessibility & contrast

On white

2.28
#B59EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#B59EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B59EF7
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B59EF7#FFFFFF#000000##000000
##B59EF71.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#86ACFA
Deuteranopia (green-blind)
#89AAF5
Tritanopia (blue-blind)
#A7ADBF
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b59ef7;
/* rgb */ color: rgb(181, 158, 247);
/* oklch */ color: oklch(75.3% 0.127 295.0);
Tailwind
colors: {
  custom: {
    50: '#cdbafa',
    500: '#b59ef7',
    950: '#000000',
  },
}
SCSS
$custom: #b59ef7;
$custom-light: #cdbafa;
$custom-dark: #000000;
JSON
{
  "hex": "#b59ef7",
  "rgb": {
    "r": 181,
    "g": 158,
    "b": 247
  },
  "hsl": {
    "h": 255.506,
    "s": 84.762,
    "l": 79.412
  },
  "oklch": {
    "l": 0.75343,
    "c": 0.1273,
    "h": 295
  },
  "luminance": 0.40993
}

Semantic roles & 50–950 ramp

primary
#B59EF7
secondary
#EDF5D6
accent
#E104A8
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B59EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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