#BD98FE#BD98FE

#BD98FE is a light, vivid violet. Relative luminance 0.404; OKLCH L 75.3% C 0.147 H 299.6°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#BD98FE
RGBrgb(189, 152, 254)
HSLhsl(262, 98%, 80%)
HSVhsv(262, 40%, 100%)
CMYKcmyk(25.6%, 40.2%, 0%, 0.4%)
CIE-LABlab(69.78, 34.17, -45.81)
CIE-LCHlch(69.78, 57.15, 306.72°)
OKLaboklab(75.31% 0.0726 -0.1278)
OKLCHoklch(75.31% 0.147 299.6)
XYZxyz(50.0998, 40.4308, 98.9112)
Luminance0.4043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD98FE #D9FE98
analogous
#98A6FE #BD98FE #F098FE
triadic
#BD98FE #FEBD98 #98FEBD
tetradic
#BD98FE #FE98A6 #D9FE98 #98FEF0
square
#BD98FE #FE98A6 #D9FE98 #98FEF0
split-complementary
#BD98FE #FEF098 #A6FE98
monochromatic
#6F1FFD #965BFD #BD98FE #E4D5FF #ECE1FF

Accessibility & contrast

On white

2.31
#BD98FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#BD98FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD98FE
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD98FE#FFFFFF#000000##000000
##BD98FE1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DAAFF
Deuteranopia (green-blind)
#84AAFB
Tritanopia (blue-blind)
#B1A9BF
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bd98fe;
/* rgb */ color: rgb(189, 152, 254);
/* oklch */ color: oklch(75.3% 0.147 299.6);
Tailwind
colors: {
  custom: {
    50: '#d3b6ff',
    500: '#bd98fe',
    950: '#000000',
  },
}
SCSS
$custom: #bd98fe;
$custom-light: #d3b6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bd98fe",
  "rgb": {
    "r": 189,
    "g": 152,
    "b": 254
  },
  "hsl": {
    "h": 261.765,
    "s": 98.077,
    "l": 79.608
  },
  "oklch": {
    "l": 0.75312,
    "c": 0.14697,
    "h": 299.6
  },
  "luminance": 0.40431
}

Semantic roles & 50–950 ramp

primary
#BD98FE
secondary
#EAF7D4
accent
#E60092
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BD98FE

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

Preview Lab → · Contrast checker → · Palette generator →

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