#BB98E5#BB98E5

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

Color values

HEX#BB98E5
RGBrgb(187, 152, 229)
HSLhsl(267, 60%, 75%)
HSVhsv(267, 34%, 90%)
CMYKcmyk(18.3%, 33.6%, 0%, 10.2%)
CIE-LABlab(68.52, 27.87, -34.12)
CIE-LCHlch(68.52, 44.05, 309.24°)
OKLaboklab(73.96% 0.065 -0.0942)
OKLCHoklch(73.96% 0.114 304.6)
XYZxyz(45.8618, 38.6786, 79.1632)
Luminance0.3868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB98E5 #C2E598
analogous
#989CE5 #BB98E5 #E298E5
triadic
#BB98E5 #E5BB98 #98E5BB
tetradic
#BB98E5 #E5989C #C2E598 #98E5E2
square
#BB98E5 #E5989C #C2E598 #98E5E2
split-complementary
#BB98E5 #E5E298 #9CE598
monochromatic
#7A36CC #9B67D9 #BB98E5 #DBC9F1 #EFE7F9

Accessibility & contrast

On white

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

On black

8.74
#BB98E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB98E5
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB98E5#FFFFFF#000000##000000
##BB98E51.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A6E8
Deuteranopia (green-blind)
#8FA7E3
Tritanopia (blue-blind)
#B5A4B4
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bb98e5;
/* rgb */ color: rgb(187, 152, 229);
/* oklch */ color: oklch(74.0% 0.114 304.6);
Tailwind
colors: {
  custom: {
    50: '#d0b6ed',
    500: '#bb98e5',
    950: '#000000',
  },
}
SCSS
$custom: #bb98e5;
$custom-light: #d0b6ed;
$custom-dark: #000000;
JSON
{
  "hex": "#bb98e5",
  "rgb": {
    "r": 187,
    "g": 152,
    "b": 229
  },
  "hsl": {
    "h": 267.273,
    "s": 59.69,
    "l": 74.706
  },
  "oklch": {
    "l": 0.7396,
    "c": 0.11443,
    "h": 304.6
  },
  "luminance": 0.38678
}

Semantic roles & 50–950 ramp

primary
#BB98E5
secondary
#E6F0DB
accent
#C71E7A
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB98E5

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

Preview Lab → · Contrast checker → · Palette generator →

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