#B595EF#B595EF

#B595EF is a light, vivid violet. Relative luminance 0.376; OKLCH L 73.3% C 0.131 H 299.5°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#B595EF
RGBrgb(181, 149, 239)
HSLhsl(261, 74%, 76%)
HSVhsv(261, 38%, 94%)
CMYKcmyk(24.3%, 37.7%, 0%, 6.3%)
CIE-LABlab(67.69, 30.07, -40.94)
CIE-LCHlch(67.69, 50.80, 306.29°)
OKLaboklab(73.34% 0.0646 -0.1139)
OKLCHoklch(73.34% 0.131 299.5)
XYZxyz(45.3800, 37.5504, 86.5018)
Luminance0.3755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B595EF #CFEF95
analogous
#95A2EF #B595EF #E295EF
triadic
#B595EF #EFB595 #95EFB5
tetradic
#B595EF #EF95A2 #CFEF95 #95EFE2
square
#B595EF #EF95A2 #CFEF95 #95EFE2
split-complementary
#B595EF #EFE295 #A2EF95
monochromatic
#6B2BDF #9060E7 #B595EF #DACAF7 #ECE4FB

Accessibility & contrast

On white

2.47
#B595EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#B595EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B595EF
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B595EF#FFFFFF#000000##000000
##B595EF1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA5F2
Deuteranopia (green-blind)
#84A4ED
Tritanopia (blue-blind)
#AAA4B7
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b595ef;
/* rgb */ color: rgb(181, 149, 239);
/* oklch */ color: oklch(73.3% 0.131 299.5);
Tailwind
colors: {
  custom: {
    50: '#cdb4f4',
    500: '#b595ef',
    950: '#000000',
  },
}
SCSS
$custom: #b595ef;
$custom-light: #cdb4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b595ef",
  "rgb": {
    "r": 181,
    "g": 149,
    "b": 239
  },
  "hsl": {
    "h": 261.333,
    "s": 73.77,
    "l": 76.078
  },
  "oklch": {
    "l": 0.73339,
    "c": 0.13092,
    "h": 299.5
  },
  "luminance": 0.37551
}

Semantic roles & 50–950 ramp

primary
#B595EF
secondary
#E9F3D8
accent
#D6108F
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #B595EF

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

Preview Lab → · Contrast checker → · Palette generator →

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