#B198DD#B198DD

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

Color values

HEX#B198DD
RGBrgb(177, 152, 221)
HSLhsl(262, 50%, 73%)
HSVhsv(262, 31%, 87%)
CMYKcmyk(19.9%, 31.2%, 0%, 13.3%)
CIE-LABlab(67.30, 23.04, -31.68)
CIE-LCHlch(67.30, 39.17, 306.03°)
OKLaboklab(72.71% 0.0516 -0.0874)
OKLCHoklch(72.71% 0.101 300.5)
XYZxyz(42.4081, 37.0239, 73.3047)
Luminance0.3702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B198DD #C4DD98
analogous
#98A1DD #B198DD #D398DD
triadic
#B198DD #DDB198 #98DDB1
tetradic
#B198DD #DD98A1 #C4DD98 #98DDD3
square
#B198DD #DD98A1 #C4DD98 #98DDD3
split-complementary
#B198DD #DDD398 #A1DD98
monochromatic
#6C3EBC #8E6ACE #B198DD #D4C6EC #EEE8F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B198DD#FFFFFF#000000##000000
##B198DD1.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)
#89A4E0
Deuteranopia (green-blind)
#8DA3DB
Tritanopia (blue-blind)
#A9A3B1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b198dd;
/* rgb */ color: rgb(177, 152, 221);
/* oklch */ color: oklch(72.7% 0.101 300.5);
Tailwind
colors: {
  custom: {
    50: '#c9b6e7',
    500: '#b198dd',
    950: '#000000',
  },
}
SCSS
$custom: #b198dd;
$custom-light: #c9b6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b198dd",
  "rgb": {
    "r": 177,
    "g": 152,
    "b": 221
  },
  "hsl": {
    "h": 261.739,
    "s": 50.365,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72706,
    "c": 0.10145,
    "h": 300.5
  },
  "luminance": 0.37024
}

Semantic roles & 50–950 ramp

primary
#B198DD
secondary
#E8EEDD
accent
#BE2887
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B198DD

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

Preview Lab → · Contrast checker → · Palette generator →

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