#B397DD#B397DD

#B397DD is a light, moderate violet. Relative luminance 0.369; OKLCH L 72.7% C 0.104 H 302.3°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#B397DD
RGBrgb(179, 151, 221)
HSLhsl(264, 51%, 73%)
HSVhsv(264, 32%, 87%)
CMYKcmyk(19%, 31.7%, 0%, 13.3%)
CIE-LABlab(67.23, 24.21, -31.76)
CIE-LCHlch(67.23, 39.94, 307.31°)
OKLaboklab(72.7% 0.0553 -0.0876)
OKLCHoklch(72.7% 0.104 302.3)
XYZxyz(42.7054, 36.9374, 73.2724)
Luminance0.3694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B397DD #C1DD97
analogous
#979EDD #B397DD #D697DD
triadic
#B397DD #DDB397 #97DDB3
tetradic
#B397DD #DD979E #C1DD97 #97DDD6
square
#B397DD #DD979E #C1DD97 #97DDD6
split-complementary
#B397DD #DDD697 #9EDD97
monochromatic
#703DBC #9169CE #B397DD #D5C5EC #EEE8F7

Accessibility & contrast

On white

2.50
#B397DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#B397DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B397DD
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B397DD#FFFFFF#000000##000000
##B397DD1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A3E0
Deuteranopia (green-blind)
#8DA3DB
Tritanopia (blue-blind)
#ACA2B0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b397dd;
/* rgb */ color: rgb(179, 151, 221);
/* oklch */ color: oklch(72.7% 0.104 302.3);
Tailwind
colors: {
  custom: {
    50: '#cab5e7',
    500: '#b397dd',
    950: '#000000',
  },
}
SCSS
$custom: #b397dd;
$custom-light: #cab5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b397dd",
  "rgb": {
    "r": 179,
    "g": 151,
    "b": 221
  },
  "hsl": {
    "h": 264,
    "s": 50.725,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72698,
    "c": 0.10356,
    "h": 302.3
  },
  "luminance": 0.36937
}

Semantic roles & 50–950 ramp

primary
#B397DD
secondary
#E7EFDC
accent
#BE2782
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B397DD

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

Preview Lab → · Contrast checker → · Palette generator →

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