#BB98CA#BB98CA

#BB98CA is a light, moderate purple. Relative luminance 0.373; OKLCH L 72.8% C 0.081 H 315.6°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#BB98CA
RGBrgb(187, 152, 202)
HSLhsl(282, 32%, 69%)
HSVhsv(282, 25%, 79%)
CMYKcmyk(7.4%, 24.8%, 0%, 20.8%)
CIE-LABlab(67.49, 22.11, -20.77)
CIE-LCHlch(67.49, 30.34, 316.79°)
OKLaboklab(72.84% 0.0576 -0.0564)
OKLCHoklch(72.84% 0.081 315.6)
XYZxyz(42.3808, 37.2862, 60.8300)
Luminance0.3729 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB98CA #A7CA98
analogous
#A298CA #BB98CA #CA98C0
triadic
#BB98CA #CABB98 #98CABB
tetradic
#BB98CA #CAA298 #A7CA98 #98C0CA
square
#BB98CA #CAA298 #A7CA98 #98C0CA
split-complementary
#BB98CA #C0CA98 #98CAA2
monochromatic
#834F99 #A070B5 #BB98CA #D6C0DF #F0E9F4

Accessibility & contrast

On white

2.48
#BB98CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#BB98CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB98CA
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB98CA#FFFFFF#000000##000000
##BB98CA1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A2CC
Deuteranopia (green-blind)
#99A5C8
Tritanopia (blue-blind)
#BB9EA9
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bb98ca;
/* rgb */ color: rgb(187, 152, 202);
/* oklch */ color: oklch(72.8% 0.081 315.6);
Tailwind
colors: {
  custom: {
    50: '#d0b6da',
    500: '#bb98ca',
    950: '#000000',
  },
}
SCSS
$custom: #bb98ca;
$custom-light: #d0b6da;
$custom-dark: #000000;
JSON
{
  "hex": "#bb98ca",
  "rgb": {
    "r": 187,
    "g": 152,
    "b": 202
  },
  "hsl": {
    "h": 282,
    "s": 32.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.72836,
    "c": 0.08063,
    "h": 315.6
  },
  "luminance": 0.37286
}

Semantic roles & 50–950 ramp

primary
#BB98CA
secondary
#DCE6D8
accent
#AB3B5C
background
#FCFBFD
surface
#F9F6FA
border
#D2D0D3
text
#141114
muted
#828083

Preview Lab

Preview with #BB98CA

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

Preview Lab → · Contrast checker → · Palette generator →

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