#BD98FA#BD98FA

#BD98FA is a light, vivid violet. Relative luminance 0.402; OKLCH L 75.1% C 0.142 H 300.4°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#BD98FA
RGBrgb(189, 152, 250)
HSLhsl(263, 91%, 79%)
HSVhsv(263, 39%, 98%)
CMYKcmyk(24.4%, 39.2%, 0%, 2%)
CIE-LABlab(69.60, 33.24, -43.92)
CIE-LCHlch(69.60, 55.08, 307.12°)
OKLaboklab(75.12% 0.0718 -0.1223)
OKLCHoklch(75.12% 0.142 300.4)
XYZxyz(49.4660, 40.1772, 95.5729)
Luminance0.4018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD98FA #D5FA98
analogous
#98A4FA #BD98FA #EE98FA
triadic
#BD98FA #FABD98 #98FABD
tetradic
#BD98FA #FA98A4 #D5FA98 #98FAEE
square
#BD98FA #FA98A4 #D5FA98 #98FAEE
split-complementary
#BD98FA #FAEE98 #A4FA98
monochromatic
#7223F4 #985EF7 #BD98FA #E2D2FD #ECE2FE

Accessibility & contrast

On white

2.32
#BD98FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#BD98FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD98FA
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD98FA#FFFFFF#000000##000000
##BD98FA1.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FAAFE
Deuteranopia (green-blind)
#86A9F7
Tritanopia (blue-blind)
#B2A8BD
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bd98fa;
/* rgb */ color: rgb(189, 152, 250);
/* oklch */ color: oklch(75.1% 0.142 300.4);
Tailwind
colors: {
  custom: {
    50: '#d2b6fc',
    500: '#bd98fa',
    950: '#000000',
  },
}
SCSS
$custom: #bd98fa;
$custom-light: #d2b6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#bd98fa",
  "rgb": {
    "r": 189,
    "g": 152,
    "b": 250
  },
  "hsl": {
    "h": 262.653,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.75117,
    "c": 0.14185,
    "h": 300.4
  },
  "luminance": 0.40177
}

Semantic roles & 50–950 ramp

primary
#BD98FA
secondary
#E9F6D5
accent
#E6008F
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BD98FA

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

Preview Lab → · Contrast checker → · Palette generator →

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