#BB98E6#BB98E6

#BB98E6 is a light, moderate violet. Relative luminance 0.387; OKLCH L 74.0% C 0.116 H 304.3°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#BB98E6
RGBrgb(187, 152, 230)
HSLhsl(267, 61%, 75%)
HSVhsv(267, 34%, 90%)
CMYKcmyk(18.7%, 33.9%, 0%, 9.8%)
CIE-LABlab(68.56, 28.09, -34.61)
CIE-LCHlch(68.56, 44.57, 309.07°)
OKLaboklab(74.01% 0.0652 -0.0956)
OKLCHoklch(74.01% 0.116 304.3)
XYZxyz(46.0018, 38.7346, 79.9006)
Luminance0.3873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB98E6 #C3E698
analogous
#989CE6 #BB98E6 #E298E6
triadic
#BB98E6 #E6BB98 #98E6BB
tetradic
#BB98E6 #E6989C #C3E698 #98E6E2
square
#BB98E6 #E6989C #C3E698 #98E6E2
split-complementary
#BB98E6 #E6E298 #9CE698
monochromatic
#7A36CE #9A67DA #BB98E6 #DCC9F2 #EFE6F9

Accessibility & contrast

On white

2.40
#BB98E6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#BB98E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB98E6
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB98E6#FFFFFF#000000##000000
##BB98E61.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A6E9
Deuteranopia (green-blind)
#8EA7E4
Tritanopia (blue-blind)
#B4A4B5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bb98e6;
/* rgb */ color: rgb(187, 152, 230);
/* oklch */ color: oklch(74.0% 0.116 304.3);
Tailwind
colors: {
  custom: {
    50: '#d0b6ee',
    500: '#bb98e6',
    950: '#000000',
  },
}
SCSS
$custom: #bb98e6;
$custom-light: #d0b6ee;
$custom-dark: #000000;
JSON
{
  "hex": "#bb98e6",
  "rgb": {
    "r": 187,
    "g": 152,
    "b": 230
  },
  "hsl": {
    "h": 266.923,
    "s": 60.937,
    "l": 74.902
  },
  "oklch": {
    "l": 0.74005,
    "c": 0.11571,
    "h": 304.3
  },
  "luminance": 0.38734
}

Semantic roles & 50–950 ramp

primary
#BB98E6
secondary
#E7F0DB
accent
#C91D7C
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB98E6

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

Preview Lab → · Contrast checker → · Palette generator →

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