#B197DF#B197DF

#B197DF is a light, moderate violet. Relative luminance 0.368; OKLCH L 72.6% C 0.106 H 300.4°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#B197DF
RGBrgb(177, 151, 223)
HSLhsl(262, 53%, 73%)
HSVhsv(262, 32%, 87%)
CMYKcmyk(20.6%, 32.3%, 0%, 12.5%)
CIE-LABlab(67.13, 24.06, -33.03)
CIE-LCHlch(67.13, 40.86, 306.06°)
OKLaboklab(72.61% 0.0535 -0.0912)
OKLCHoklch(72.61% 0.106 300.4)
XYZxyz(42.5145, 36.8079, 74.6626)
Luminance0.3681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B197DF #C5DF97
analogous
#97A1DF #B197DF #D597DF
triadic
#B197DF #DFB197 #97DFB1
tetradic
#B197DF #DF97A1 #C5DF97 #97DFD5
square
#B197DF #DF97A1 #C5DF97 #97DFD5
split-complementary
#B197DF #DFD597 #A1DF97
monochromatic
#6B3BC0 #8E68D1 #B197DF #D4C6ED #EDE8F8

Accessibility & contrast

On white

2.51
#B197DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#B197DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B197DF
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B197DF#FFFFFF#000000##000000
##B197DF1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A3E2
Deuteranopia (green-blind)
#8BA3DD
Tritanopia (blue-blind)
#A9A2B1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b197df;
/* rgb */ color: rgb(177, 151, 223);
/* oklch */ color: oklch(72.6% 0.106 300.4);
Tailwind
colors: {
  custom: {
    50: '#c9b5e9',
    500: '#b197df',
    950: '#000000',
  },
}
SCSS
$custom: #b197df;
$custom-light: #c9b5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b197df",
  "rgb": {
    "r": 177,
    "g": 151,
    "b": 223
  },
  "hsl": {
    "h": 261.667,
    "s": 52.941,
    "l": 73.333
  },
  "oklch": {
    "l": 0.72608,
    "c": 0.10576,
    "h": 300.4
  },
  "luminance": 0.36808
}

Semantic roles & 50–950 ramp

primary
#B197DF
secondary
#E8EFDC
accent
#C02588
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B197DF

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

Preview Lab → · Contrast checker → · Palette generator →

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