#B397CB#B397CB

#B397CB is a light, moderate violet. Relative luminance 0.360; OKLCH L 71.9% C 0.080 H 308.9°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#B397CB
RGBrgb(179, 151, 203)
HSLhsl(272, 33%, 69%)
HSVhsv(272, 26%, 80%)
CMYKcmyk(11.8%, 25.6%, 0%, 20.4%)
CIE-LABlab(66.54, 20.26, -22.84)
CIE-LCHlch(66.54, 30.53, 311.57°)
OKLaboklab(71.94% 0.0503 -0.0623)
OKLCHoklch(71.94% 0.08 308.9)
XYZxyz(40.4346, 36.0290, 61.3125)
Luminance0.3603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B397CB #AFCB97
analogous
#9997CB #B397CB #CB97C9
triadic
#B397CB #CBB397 #97CBB3
tetradic
#B397CB #CB9997 #AFCB97 #97C9CB
square
#B397CB #CB9997 #AFCB97 #97C9CB
split-complementary
#B397CB #C9CB97 #97CB99
monochromatic
#774D9A #956EB7 #B397CB #D1C0DF #EFE9F4

Accessibility & contrast

On white

2.56
#B397CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#B397CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B397CB
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B397CB#FFFFFF#000000##000000
##B397CB1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA1CD
Deuteranopia (green-blind)
#94A2C9
Tritanopia (blue-blind)
#B09EA9
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b397cb;
/* rgb */ color: rgb(179, 151, 203);
/* oklch */ color: oklch(71.9% 0.080 308.9);
Tailwind
colors: {
  custom: {
    50: '#cab5db',
    500: '#b397cb',
    950: '#000000',
  },
}
SCSS
$custom: #b397cb;
$custom-light: #cab5db;
$custom-dark: #000000;
JSON
{
  "hex": "#b397cb",
  "rgb": {
    "r": 179,
    "g": 151,
    "b": 203
  },
  "hsl": {
    "h": 272.308,
    "s": 33.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71944,
    "c": 0.08005,
    "h": 308.9
  },
  "luminance": 0.36029
}

Semantic roles & 50–950 ramp

primary
#B397CB
secondary
#DEE6D7
accent
#AC396E
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#131115
muted
#828083

Preview Lab

Preview with #B397CB

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

Preview Lab → · Contrast checker → · Palette generator →

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