#B397C8#B397C8

#B397C8 is a light, moderate violet. Relative luminance 0.359; OKLCH L 71.8% C 0.076 H 310.4°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#B397C8
RGBrgb(179, 151, 200)
HSLhsl(274, 31%, 69%)
HSVhsv(274, 25%, 78%)
CMYKcmyk(10.5%, 24.5%, 0%, 21.6%)
CIE-LABlab(66.43, 19.63, -21.34)
CIE-LCHlch(66.43, 28.99, 312.61°)
OKLaboklab(71.83% 0.0494 -0.0581)
OKLCHoklch(71.83% 0.076 310.4)
XYZxyz(40.0805, 35.8874, 59.4479)
Luminance0.3589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B397C8 #ACC897
analogous
#9B97C8 #B397C8 #C897C5
triadic
#B397C8 #C8B397 #97C8B3
tetradic
#B397C8 #C89B97 #ACC897 #97C5C8
square
#B397C8 #C89B97 #ACC897 #97C5C8
split-complementary
#B397C8 #C5C897 #97C89B
monochromatic
#774F96 #966FB3 #B397C8 #D0BFDD #EEE7F2

Accessibility & contrast

On white

2.57
#B397C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#B397C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B397C8
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B397C8#FFFFFF#000000##000000
##B397C81.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA0CA
Deuteranopia (green-blind)
#95A2C6
Tritanopia (blue-blind)
#B19DA8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b397c8;
/* rgb */ color: rgb(179, 151, 200);
/* oklch */ color: oklch(71.8% 0.076 310.4);
Tailwind
colors: {
  custom: {
    50: '#cab5d8',
    500: '#b397c8',
    950: '#000000',
  },
}
SCSS
$custom: #b397c8;
$custom-light: #cab5d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b397c8",
  "rgb": {
    "r": 179,
    "g": 151,
    "b": 200
  },
  "hsl": {
    "h": 274.286,
    "s": 30.818,
    "l": 68.824
  },
  "oklch": {
    "l": 0.71825,
    "c": 0.07621,
    "h": 310.4
  },
  "luminance": 0.35887
}

Semantic roles & 50–950 ramp

primary
#B397C8
secondary
#DCE5D6
accent
#AA3C6B
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#131114
muted
#828083

Preview Lab

Preview with #B397C8

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

Preview Lab → · Contrast checker → · Palette generator →

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