#B398BF#B398BF

#B398BF is a light, moderate purple. Relative luminance 0.358; OKLCH L 71.7% C 0.063 H 315.4°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#B398BF
RGBrgb(179, 152, 191)
HSLhsl(282, 23%, 67%)
HSVhsv(282, 20%, 75%)
CMYKcmyk(6.3%, 20.4%, 0%, 25.1%)
CIE-LABlab(66.37, 17.21, -16.42)
CIE-LCHlch(66.37, 23.78, 316.35°)
OKLaboklab(71.67% 0.045 -0.0444)
OKLCHoklch(71.67% 0.063 315.4)
XYZxyz(39.2211, 35.8022, 54.1245)
Luminance0.3580 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B398BF #A4BF98
analogous
#A098BF #B398BF #BF98B8
triadic
#B398BF #BFB398 #98BFB3
tetradic
#B398BF #BFA098 #A4BF98 #98B8BF
square
#B398BF #BFA098 #A4BF98 #98B8BF
split-complementary
#B398BF #B8BF98 #98BFA0
monochromatic
#785588 #9772A8 #B398BF #CFBED6 #EBE3EE

Accessibility & contrast

On white

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

On black

8.16
#B398BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B398BF
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B398BF#FFFFFF#000000##000000
##B398BF1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A0C1
Deuteranopia (green-blind)
#99A2BE
Tritanopia (blue-blind)
#B39CA5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b398bf;
/* rgb */ color: rgb(179, 152, 191);
/* oklch */ color: oklch(71.7% 0.063 315.4);
Tailwind
colors: {
  custom: {
    50: '#cab6d2',
    500: '#b398bf',
    950: '#000000',
  },
}
SCSS
$custom: #b398bf;
$custom-light: #cab6d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b398bf",
  "rgb": {
    "r": 179,
    "g": 152,
    "b": 191
  },
  "hsl": {
    "h": 281.538,
    "s": 23.353,
    "l": 67.255
  },
  "oklch": {
    "l": 0.71671,
    "c": 0.06318,
    "h": 315.4
  },
  "luminance": 0.35802
}

Semantic roles & 50–950 ramp

primary
#B398BF
secondary
#D7E0D3
accent
#A24461
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131114
muted
#828082

Preview Lab

Preview with #B398BF

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

Preview Lab → · Contrast checker → · Palette generator →

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