#B397CE#B397CE

#B397CE is a light, moderate violet. Relative luminance 0.362; OKLCH L 72.1% C 0.084 H 307.6°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#B397CE
RGBrgb(179, 151, 206)
HSLhsl(271, 36%, 70%)
HSVhsv(271, 27%, 81%)
CMYKcmyk(13.1%, 26.7%, 0%, 19.2%)
CIE-LABlab(66.65, 20.90, -24.34)
CIE-LCHlch(66.65, 32.08, 310.65°)
OKLaboklab(72.07% 0.0512 -0.0665)
OKLCHoklch(72.07% 0.084 307.6)
XYZxyz(40.7955, 36.1734, 63.2136)
Luminance0.3617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B397CE #B2CE97
analogous
#9797CE #B397CE #CE97CE
triadic
#B397CE #CEB397 #97CEB3
tetradic
#B397CE #CE9797 #B2CE97 #97CECE
square
#B397CE #CE9797 #B2CE97 #97CECE
split-complementary
#B397CE #CECE97 #97CE97
monochromatic
#764B9F #956DBA #B397CE #D1C1E2 #F0EAF5

Accessibility & contrast

On white

2.55
#B397CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#B397CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B397CE
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B397CE#FFFFFF#000000##000000
##B397CE1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA1D0
Deuteranopia (green-blind)
#93A2CC
Tritanopia (blue-blind)
#B09EAA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b397ce;
/* rgb */ color: rgb(179, 151, 206);
/* oklch */ color: oklch(72.1% 0.084 307.6);
Tailwind
colors: {
  custom: {
    50: '#cab5dd',
    500: '#b397ce',
    950: '#000000',
  },
}
SCSS
$custom: #b397ce;
$custom-light: #cab5dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b397ce",
  "rgb": {
    "r": 179,
    "g": 151,
    "b": 206
  },
  "hsl": {
    "h": 270.545,
    "s": 35.948,
    "l": 70
  },
  "oklch": {
    "l": 0.72065,
    "c": 0.08391,
    "h": 307.6
  },
  "luminance": 0.36173
}

Semantic roles & 50–950 ramp

primary
#B397CE
secondary
#E0E8D9
accent
#AF3772
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #B397CE

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

Preview Lab → · Contrast checker → · Palette generator →

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