#B398BD#B398BD

#B398BD is a light, moderate purple. Relative luminance 0.357; OKLCH L 71.6% C 0.061 H 316.9°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#B398BD
RGBrgb(179, 152, 189)
HSLhsl(284, 22%, 67%)
HSVhsv(284, 20%, 74%)
CMYKcmyk(5.3%, 19.6%, 0%, 25.9%)
CIE-LABlab(66.30, 16.81, -15.40)
CIE-LCHlch(66.30, 22.80, 317.50°)
OKLaboklab(71.6% 0.0443 -0.0415)
OKLCHoklch(71.6% 0.061 316.9)
XYZxyz(39.0026, 35.7148, 52.9732)
Luminance0.3571 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B398BD #A2BD98
analogous
#A198BD #B398BD #BD98B5
triadic
#B398BD #BDB398 #98BDB3
tetradic
#B398BD #BDA198 #A2BD98 #98B5BD
square
#B398BD #BDA198 #A2BD98 #98B5BD
split-complementary
#B398BD #B5BD98 #98BDA1
monochromatic
#785585 #9773A5 #B398BD #CFBDD5 #EAE3ED

Accessibility & contrast

On white

2.58
#B398BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#B398BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B398BD
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B398BD#FFFFFF#000000##000000
##B398BD1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#949FBF
Deuteranopia (green-blind)
#99A2BC
Tritanopia (blue-blind)
#B39CA5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b398bd;
/* rgb */ color: rgb(179, 152, 189);
/* oklch */ color: oklch(71.6% 0.061 316.9);
Tailwind
colors: {
  custom: {
    50: '#cab6d1',
    500: '#b398bd',
    950: '#000000',
  },
}
SCSS
$custom: #b398bd;
$custom-light: #cab6d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b398bd",
  "rgb": {
    "r": 179,
    "g": 152,
    "b": 189
  },
  "hsl": {
    "h": 283.784,
    "s": 21.893,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71597,
    "c": 0.06075,
    "h": 316.9
  },
  "luminance": 0.35714
}

Semantic roles & 50–950 ramp

primary
#B398BD
secondary
#D6DED2
accent
#A0455E
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131114
muted
#828082

Preview Lab

Preview with #B398BD

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

Preview Lab → · Contrast checker → · Palette generator →

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