#B397DE#B397DE

#B397DE is a light, moderate violet. Relative luminance 0.370; OKLCH L 72.7% C 0.105 H 302.0°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#B397DE
RGBrgb(179, 151, 222)
HSLhsl(264, 52%, 73%)
HSVhsv(264, 32%, 87%)
CMYKcmyk(19.4%, 32%, 0%, 12.9%)
CIE-LABlab(67.27, 24.43, -32.25)
CIE-LCHlch(67.27, 40.46, 307.15°)
OKLaboklab(72.74% 0.0555 -0.089)
OKLCHoklch(72.74% 0.105 302)
XYZxyz(42.8391, 36.9908, 73.9762)
Luminance0.3699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B397DE #C2DE97
analogous
#979EDE #B397DE #D697DE
triadic
#B397DE #DEB397 #97DEB3
tetradic
#B397DE #DE979E #C2DE97 #97DED6
square
#B397DE #DE979E #C2DE97 #97DED6
split-complementary
#B397DE #DED697 #9EDE97
monochromatic
#703CBE #9169CF #B397DE #D5C5ED #EEE8F8

Accessibility & contrast

On white

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

On black

8.40
#B397DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B397DE
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B397DE#FFFFFF#000000##000000
##B397DE1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A3E1
Deuteranopia (green-blind)
#8DA4DC
Tritanopia (blue-blind)
#ACA2B1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b397de;
/* rgb */ color: rgb(179, 151, 222);
/* oklch */ color: oklch(72.7% 0.105 302.0);
Tailwind
colors: {
  custom: {
    50: '#cab5e8',
    500: '#b397de',
    950: '#000000',
  },
}
SCSS
$custom: #b397de;
$custom-light: #cab5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b397de",
  "rgb": {
    "r": 179,
    "g": 151,
    "b": 222
  },
  "hsl": {
    "h": 263.662,
    "s": 51.825,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72742,
    "c": 0.10489,
    "h": 302
  },
  "luminance": 0.36991
}

Semantic roles & 50–950 ramp

primary
#B397DE
secondary
#E7EFDC
accent
#BF2683
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B397DE

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

Preview Lab → · Contrast checker → · Palette generator →

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