#B595F9#B595F9

#B595F9 is a light, vivid violet. Relative luminance 0.382; OKLCH L 73.8% C 0.144 H 297.5°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#B595F9
RGBrgb(181, 149, 249)
HSLhsl(259, 89%, 78%)
HSVhsv(259, 40%, 98%)
CMYKcmyk(27.3%, 40.2%, 0%, 2.4%)
CIE-LABlab(68.14, 32.44, -45.71)
CIE-LCHlch(68.14, 56.05, 305.37°)
OKLaboklab(73.83% 0.0665 -0.1277)
OKLCHoklch(73.83% 0.144 297.5)
XYZxyz(46.8984, 38.1578, 94.4985)
Luminance0.3816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B595F9 #D9F995
analogous
#95A7F9 #B595F9 #E795F9
triadic
#B595F9 #F9B595 #95F9B5
tetradic
#B595F9 #F995A7 #D9F995 #95F9E7
square
#B595F9 #F995A7 #D9F995 #95F9E7
split-complementary
#B595F9 #F9E795 #A7F995
monochromatic
#6421F2 #8D5BF6 #B595F9 #DDCFFC #EBE2FD

Accessibility & contrast

On white

2.43
#B595F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#B595F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B595F9
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B595F9#FFFFFF#000000##000000
##B595F91.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A6FD
Deuteranopia (green-blind)
#7FA5F6
Tritanopia (blue-blind)
#A7A6BB
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b595f9;
/* rgb */ color: rgb(181, 149, 249);
/* oklch */ color: oklch(73.8% 0.144 297.5);
Tailwind
colors: {
  custom: {
    50: '#cdb4fb',
    500: '#b595f9',
    950: '#000000',
  },
}
SCSS
$custom: #b595f9;
$custom-light: #cdb4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b595f9",
  "rgb": {
    "r": 181,
    "g": 149,
    "b": 249
  },
  "hsl": {
    "h": 259.2,
    "s": 89.286,
    "l": 78.039
  },
  "oklch": {
    "l": 0.73826,
    "c": 0.14395,
    "h": 297.5
  },
  "luminance": 0.38158
}

Semantic roles & 50–950 ramp

primary
#B595F9
secondary
#EBF5D6
accent
#E6009C
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B595F9

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

Preview Lab → · Contrast checker → · Palette generator →

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