#B595F8#B595F8

#B595F8 is a light, vivid violet. Relative luminance 0.381; OKLCH L 73.8% C 0.143 H 297.7°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#B595F8
RGBrgb(181, 149, 248)
HSLhsl(259, 88%, 78%)
HSVhsv(259, 40%, 97%)
CMYKcmyk(27%, 39.9%, 0%, 2.7%)
CIE-LABlab(68.09, 32.20, -45.24)
CIE-LCHlch(68.09, 55.53, 305.45°)
OKLaboklab(73.78% 0.0663 -0.1263)
OKLCHoklch(73.78% 0.143 297.7)
XYZxyz(46.7428, 38.0955, 93.6793)
Luminance0.3810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B595F8 #D8F895
analogous
#95A6F8 #B595F8 #E795F8
triadic
#B595F8 #F8B595 #95F8B5
tetradic
#B595F8 #F895A6 #D8F895 #95F8E7
square
#B595F8 #F895A6 #D8F895 #95F8E7
split-complementary
#B595F8 #F8E795 #A6F895
monochromatic
#6522F0 #8D5CF4 #B595F8 #DDCEFC #EBE2FD

Accessibility & contrast

On white

2.44
#B595F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#B595F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B595F8
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B595F8#FFFFFF#000000##000000
##B595F81.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA6FC
Deuteranopia (green-blind)
#80A5F5
Tritanopia (blue-blind)
#A8A6BB
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b595f8;
/* rgb */ color: rgb(181, 149, 248);
/* oklch */ color: oklch(73.8% 0.143 297.7);
Tailwind
colors: {
  custom: {
    50: '#cdb4fb',
    500: '#b595f8',
    950: '#000000',
  },
}
SCSS
$custom: #b595f8;
$custom-light: #cdb4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b595f8",
  "rgb": {
    "r": 181,
    "g": 149,
    "b": 248
  },
  "hsl": {
    "h": 259.394,
    "s": 87.611,
    "l": 77.843
  },
  "oklch": {
    "l": 0.73776,
    "c": 0.14265,
    "h": 297.7
  },
  "luminance": 0.38096
}

Semantic roles & 50–950 ramp

primary
#B595F8
secondary
#EBF5D6
accent
#E4019B
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B595F8

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

Preview Lab → · Contrast checker → · Palette generator →

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