#BD98FD#BD98FD

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

Color values

HEX#BD98FD
RGBrgb(189, 152, 253)
HSLhsl(262, 96%, 79%)
HSVhsv(262, 40%, 99%)
CMYKcmyk(25.3%, 39.9%, 0%, 0.8%)
CIE-LABlab(69.73, 33.94, -45.34)
CIE-LCHlch(69.73, 56.63, 306.82°)
OKLaboklab(75.26% 0.0724 -0.1264)
OKLCHoklch(75.26% 0.146 299.8)
XYZxyz(49.9401, 40.3669, 98.0700)
Luminance0.4037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD98FD #D8FD98
analogous
#98A6FD #BD98FD #EF98FD
triadic
#BD98FD #FDBD98 #98FDBD
tetradic
#BD98FD #FD98A6 #D8FD98 #98FDEF
square
#BD98FD #FD98A6 #D8FD98 #98FDEF
split-complementary
#BD98FD #FDEF98 #A6FD98
monochromatic
#7020FB #975CFC #BD98FD #E3D4FE #ECE1FE

Accessibility & contrast

On white

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

On black

9.07
#BD98FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD98FD
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD98FD#FFFFFF#000000##000000
##BD98FD1.002.319.079.07
#FFFFFF2.311.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bd98fd;
/* rgb */ color: rgb(189, 152, 253);
/* oklch */ color: oklch(75.3% 0.146 299.8);
Tailwind
colors: {
  custom: {
    50: '#d3b6fe',
    500: '#bd98fd',
    950: '#000000',
  },
}
SCSS
$custom: #bd98fd;
$custom-light: #d3b6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#bd98fd",
  "rgb": {
    "r": 189,
    "g": 152,
    "b": 253
  },
  "hsl": {
    "h": 261.98,
    "s": 96.19,
    "l": 79.412
  },
  "oklch": {
    "l": 0.75263,
    "c": 0.14569,
    "h": 299.8
  },
  "luminance": 0.40367
}

Semantic roles & 50–950 ramp

primary
#BD98FD
secondary
#EAF7D4
accent
#E60091
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BD98FD

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

Preview Lab → · Contrast checker → · Palette generator →

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