#B397CA#B397CA

#B397CA is a light, moderate violet. Relative luminance 0.360; OKLCH L 71.9% C 0.079 H 309.4°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#B397CA
RGBrgb(179, 151, 202)
HSLhsl(273, 32%, 69%)
HSVhsv(273, 25%, 79%)
CMYKcmyk(11.4%, 25.2%, 0%, 20.8%)
CIE-LABlab(66.51, 20.05, -22.34)
CIE-LCHlch(66.51, 30.02, 311.91°)
OKLaboklab(71.9% 0.05 -0.0609)
OKLCHoklch(71.9% 0.079 309.4)
XYZxyz(40.3158, 35.9815, 60.6869)
Luminance0.3598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B397CA #AECA97
analogous
#9A97CA #B397CA #CA97C8
triadic
#B397CA #CAB397 #97CAB3
tetradic
#B397CA #CA9A97 #AECA97 #97C8CA
square
#B397CA #CA9A97 #AECA97 #97C8CA
split-complementary
#B397CA #C8CA97 #97CA9A
monochromatic
#774E99 #956EB5 #B397CA #D1C0DF #EEE8F3

Accessibility & contrast

On white

2.56
#B397CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#B397CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B397CA
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B397CA#FFFFFF#000000##000000
##B397CA1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA0CC
Deuteranopia (green-blind)
#94A2C8
Tritanopia (blue-blind)
#B09EA9
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b397ca;
/* rgb */ color: rgb(179, 151, 202);
/* oklch */ color: oklch(71.9% 0.079 309.4);
Tailwind
colors: {
  custom: {
    50: '#cab5da',
    500: '#b397ca',
    950: '#000000',
  },
}
SCSS
$custom: #b397ca;
$custom-light: #cab5da;
$custom-dark: #000000;
JSON
{
  "hex": "#b397ca",
  "rgb": {
    "r": 179,
    "g": 151,
    "b": 202
  },
  "hsl": {
    "h": 272.941,
    "s": 32.484,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71904,
    "c": 0.07877,
    "h": 309.4
  },
  "luminance": 0.35981
}

Semantic roles & 50–950 ramp

primary
#B397CA
secondary
#DEE6D7
accent
#AB3A6D
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#131114
muted
#828083

Preview Lab

Preview with #B397CA

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

Preview Lab → · Contrast checker → · Palette generator →

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