#BD98EF#BD98EF

#BD98EF is a light, vivid violet. Relative luminance 0.395; OKLCH L 74.6% C 0.128 H 303.0°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#BD98EF
RGBrgb(189, 152, 239)
HSLhsl(266, 73%, 77%)
HSVhsv(266, 36%, 94%)
CMYKcmyk(20.9%, 36.4%, 0%, 6.3%)
CIE-LABlab(69.12, 30.71, -38.66)
CIE-LCHlch(69.12, 49.37, 308.46°)
OKLaboklab(74.6% 0.0696 -0.1072)
OKLCHoklch(74.6% 0.128 303)
XYZxyz(47.7912, 39.5073, 86.7525)
Luminance0.3951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD98EF #CAEF98
analogous
#989FEF #BD98EF #E898EF
triadic
#BD98EF #EFBD98 #98EFBD
tetradic
#BD98EF #EF989F #CAEF98 #98EFE8
square
#BD98EF #EF989F #CAEF98 #98EFE8
split-complementary
#BD98EF #EFE898 #9FEF98
monochromatic
#792EDF #9B63E7 #BD98EF #DFCDF7 #EEE5FB

Accessibility & contrast

On white

2.36
#BD98EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#BD98EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD98EF
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD98EF#FFFFFF#000000##000000
##BD98EF1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A8F2
Deuteranopia (green-blind)
#8CA9ED
Tritanopia (blue-blind)
#B5A6B8
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bd98ef;
/* rgb */ color: rgb(189, 152, 239);
/* oklch */ color: oklch(74.6% 0.128 303.0);
Tailwind
colors: {
  custom: {
    50: '#d2b6f4',
    500: '#bd98ef',
    950: '#000000',
  },
}
SCSS
$custom: #bd98ef;
$custom-light: #d2b6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#bd98ef",
  "rgb": {
    "r": 189,
    "g": 152,
    "b": 239
  },
  "hsl": {
    "h": 265.517,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.74597,
    "c": 0.12777,
    "h": 303
  },
  "luminance": 0.39507
}

Semantic roles & 50–950 ramp

primary
#BD98EF
secondary
#E7F3D8
accent
#D51081
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141117
muted
#838085

Preview Lab

Preview with #BD98EF

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

Preview Lab → · Contrast checker → · Palette generator →

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