#B597EA#B597EA

#B597EA is a light, vivid violet. Relative luminance 0.379; OKLCH L 73.5% C 0.121 H 300.1°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#B597EA
RGBrgb(181, 151, 234)
HSLhsl(262, 66%, 75%)
HSVhsv(262, 35%, 92%)
CMYKcmyk(22.6%, 35.5%, 0%, 8.2%)
CIE-LABlab(67.94, 27.78, -37.80)
CIE-LCHlch(67.94, 46.91, 306.32°)
OKLaboklab(73.46% 0.0607 -0.1048)
OKLCHoklch(73.46% 0.121 300.1)
XYZxyz(44.9707, 37.8973, 82.7717)
Luminance0.3790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B597EA #CCEA97
analogous
#97A2EA #B597EA #DF97EA
triadic
#B597EA #EAB597 #97EAB5
tetradic
#B597EA #EA97A2 #CCEA97 #97EADF
square
#B597EA #EA97A2 #CCEA97 #97EADF
split-complementary
#B597EA #EADF97 #A2EA97
monochromatic
#6D31D5 #9164E0 #B597EA #D9CAF4 #EDE6FA

Accessibility & contrast

On white

2.45
#B597EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#B597EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B597EA
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B597EA#FFFFFF#000000##000000
##B597EA1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A5ED
Deuteranopia (green-blind)
#89A5E8
Tritanopia (blue-blind)
#ABA4B6
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b597ea;
/* rgb */ color: rgb(181, 151, 234);
/* oklch */ color: oklch(73.5% 0.121 300.1);
Tailwind
colors: {
  custom: {
    50: '#ccb6f1',
    500: '#b597ea',
    950: '#000000',
  },
}
SCSS
$custom: #b597ea;
$custom-light: #ccb6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b597ea",
  "rgb": {
    "r": 181,
    "g": 151,
    "b": 234
  },
  "hsl": {
    "h": 261.687,
    "s": 66.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.73463,
    "c": 0.12114,
    "h": 300.1
  },
  "luminance": 0.37897
}

Semantic roles & 50–950 ramp

primary
#B597EA
secondary
#E9F1DA
accent
#CE178C
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B597EA

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

Preview Lab → · Contrast checker → · Palette generator →

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