#B397CC#B397CC

#B397CC is a light, moderate violet. Relative luminance 0.361; OKLCH L 72.0% C 0.081 H 308.4°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#B397CC
RGBrgb(179, 151, 204)
HSLhsl(272, 34%, 70%)
HSVhsv(272, 26%, 80%)
CMYKcmyk(12.3%, 26%, 0%, 20%)
CIE-LABlab(66.58, 20.47, -23.34)
CIE-LCHlch(66.58, 31.05, 311.26°)
OKLaboklab(71.98% 0.0506 -0.0637)
OKLCHoklch(71.98% 0.081 308.4)
XYZxyz(40.5541, 36.0769, 61.9421)
Luminance0.3608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B397CC #B0CC97
analogous
#9997CC #B397CC #CC97CB
triadic
#B397CC #CCB397 #97CCB3
tetradic
#B397CC #CC9997 #B0CC97 #97CBCC
square
#B397CC #CC9997 #B0CC97 #97CBCC
split-complementary
#B397CC #CBCC97 #97CC99
monochromatic
#774D9C #956EB8 #B397CC #D1C0E0 #EFE9F4

Accessibility & contrast

On white

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

On black

8.22
#B397CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B397CC
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B397CC#FFFFFF#000000##000000
##B397CC1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA1CE
Deuteranopia (green-blind)
#94A2CA
Tritanopia (blue-blind)
#B09EAA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b397cc;
/* rgb */ color: rgb(179, 151, 204);
/* oklch */ color: oklch(72.0% 0.081 308.4);
Tailwind
colors: {
  custom: {
    50: '#cab5db',
    500: '#b397cc',
    950: '#000000',
  },
}
SCSS
$custom: #b397cc;
$custom-light: #cab5db;
$custom-dark: #000000;
JSON
{
  "hex": "#b397cc",
  "rgb": {
    "r": 179,
    "g": 151,
    "b": 204
  },
  "hsl": {
    "h": 271.698,
    "s": 34.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71984,
    "c": 0.08134,
    "h": 308.4
  },
  "luminance": 0.36077
}

Semantic roles & 50–950 ramp

primary
#B397CC
secondary
#DFE7D8
accent
#AD386F
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #B397CC

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

Preview Lab → · Contrast checker → · Palette generator →

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