#BD98DB#BD98DB

#BD98DB is a light, moderate violet. Relative luminance 0.384; OKLCH L 73.7% C 0.102 H 309.2°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#BD98DB
RGBrgb(189, 152, 219)
HSLhsl(273, 48%, 73%)
HSVhsv(273, 31%, 86%)
CMYKcmyk(13.7%, 30.6%, 0%, 14.1%)
CIE-LABlab(68.31, 26.30, -28.92)
CIE-LCHlch(68.31, 39.09, 312.28°)
OKLaboklab(73.71% 0.0648 -0.0793)
OKLCHoklch(73.71% 0.102 309.2)
XYZxyz(44.9984, 38.3902, 72.0436)
Luminance0.3839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD98DB #B6DB98
analogous
#9B98DB #BD98DB #DB98D7
triadic
#BD98DB #DBBD98 #98DBBD
tetradic
#BD98DB #DB9B98 #B6DB98 #98D7DB
square
#BD98DB #DB9B98 #B6DB98 #98D7DB
split-complementary
#BD98DB #D7DB98 #98DB9B
monochromatic
#8340B8 #A06BCB #BD98DB #DAC5EB #F0E8F7

Accessibility & contrast

On white

2.42
#BD98DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#BD98DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD98DB
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD98DB#FFFFFF#000000##000000
##BD98DB1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA5DE
Deuteranopia (green-blind)
#94A7D9
Tritanopia (blue-blind)
#BAA1B0
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bd98db;
/* rgb */ color: rgb(189, 152, 219);
/* oklch */ color: oklch(73.7% 0.102 309.2);
Tailwind
colors: {
  custom: {
    50: '#d1b6e6',
    500: '#bd98db',
    950: '#000000',
  },
}
SCSS
$custom: #bd98db;
$custom-light: #d1b6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#bd98db",
  "rgb": {
    "r": 189,
    "g": 152,
    "b": 219
  },
  "hsl": {
    "h": 273.134,
    "s": 48.201,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73713,
    "c": 0.10241,
    "h": 309.2
  },
  "luminance": 0.3839
}

Semantic roles & 50–950 ramp

primary
#BD98DB
secondary
#E5EEDD
accent
#BB2A6B
background
#FCFBFE
surface
#F9F6FC
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BD98DB

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

Preview Lab → · Contrast checker → · Palette generator →

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