#B197CD#B197CD

#B197CD is a light, moderate violet. Relative luminance 0.359; OKLCH L 71.8% C 0.082 H 306.4°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#B197CD
RGBrgb(177, 151, 205)
HSLhsl(269, 35%, 70%)
HSVhsv(269, 26%, 80%)
CMYKcmyk(13.7%, 26.3%, 0%, 19.6%)
CIE-LABlab(66.43, 20.04, -24.13)
CIE-LCHlch(66.43, 31.37, 309.71°)
OKLaboklab(71.84% 0.0486 -0.066)
OKLCHoklch(71.84% 0.082 306.4)
XYZxyz(40.2154, 35.8883, 62.5543)
Luminance0.3589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B197CD #B3CD97
analogous
#9798CD #B197CD #CC97CD
triadic
#B197CD #CDB197 #97CDB1
tetradic
#B197CD #CD9798 #B3CD97 #97CDCC
square
#B197CD #CD9798 #B3CD97 #97CDCC
split-complementary
#B197CD #CDCC97 #98CD97
monochromatic
#734C9E #926EB9 #B197CD #D0C0E1 #EFEAF5

Accessibility & contrast

On white

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

On black

8.18
#B197CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B197CD
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B197CD#FFFFFF#000000##000000
##B197CD1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA1CF
Deuteranopia (green-blind)
#92A2CB
Tritanopia (blue-blind)
#AD9EAA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b197cd;
/* rgb */ color: rgb(177, 151, 205);
/* oklch */ color: oklch(71.8% 0.082 306.4);
Tailwind
colors: {
  custom: {
    50: '#c8b5dc',
    500: '#b197cd',
    950: '#000000',
  },
}
SCSS
$custom: #b197cd;
$custom-light: #c8b5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b197cd",
  "rgb": {
    "r": 177,
    "g": 151,
    "b": 205
  },
  "hsl": {
    "h": 268.889,
    "s": 35.065,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71842,
    "c": 0.08192,
    "h": 306.4
  },
  "luminance": 0.35888
}

Semantic roles & 50–950 ramp

primary
#B197CD
secondary
#E0E8D8
accent
#AE3875
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #B197CD

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

Preview Lab → · Contrast checker → · Palette generator →

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