#B397CD#B397CD

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

Color values

HEX#B397CD
RGBrgb(179, 151, 205)
HSLhsl(271, 35%, 70%)
HSVhsv(271, 26%, 80%)
CMYKcmyk(12.7%, 26.3%, 0%, 19.6%)
CIE-LABlab(66.62, 20.69, -23.84)
CIE-LCHlch(66.62, 31.57, 310.95°)
OKLaboklab(72.02% 0.0509 -0.0651)
OKLCHoklch(72.02% 0.083 308)
XYZxyz(40.6744, 36.1250, 62.5758)
Luminance0.3613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B397CD #B1CD97
analogous
#9897CD #B397CD #CD97CC
triadic
#B397CD #CDB397 #97CDB3
tetradic
#B397CD #CD9897 #B1CD97 #97CCCD
square
#B397CD #CD9897 #B1CD97 #97CCCD
split-complementary
#B397CD #CCCD97 #97CD98
monochromatic
#764C9E #956EB9 #B397CD #D1C0E1 #EFEAF5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B397CD#FFFFFF#000000##000000
##B397CD1.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)
#8EA1CF
Deuteranopia (green-blind)
#93A2CB
Tritanopia (blue-blind)
#B09EAA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b397cd;
/* rgb */ color: rgb(179, 151, 205);
/* oklch */ color: oklch(72.0% 0.083 308.0);
Tailwind
colors: {
  custom: {
    50: '#cab5dc',
    500: '#b397cd',
    950: '#000000',
  },
}
SCSS
$custom: #b397cd;
$custom-light: #cab5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b397cd",
  "rgb": {
    "r": 179,
    "g": 151,
    "b": 205
  },
  "hsl": {
    "h": 271.111,
    "s": 35.065,
    "l": 69.804
  },
  "oklch": {
    "l": 0.72024,
    "c": 0.08262,
    "h": 308
  },
  "luminance": 0.36125
}

Semantic roles & 50–950 ramp

primary
#B397CD
secondary
#E0E8D8
accent
#AE3871
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #B397CD

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

Preview Lab → · Contrast checker → · Palette generator →

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