#BD98FB#BD98FB

#BD98FB is a light, vivid violet. Relative luminance 0.402; OKLCH L 75.2% C 0.143 H 300.2°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#BD98FB
RGBrgb(189, 152, 251)
HSLhsl(262, 93%, 79%)
HSVhsv(262, 39%, 98%)
CMYKcmyk(24.7%, 39.4%, 0%, 1.6%)
CIE-LABlab(69.64, 33.47, -44.39)
CIE-LCHlch(69.64, 55.60, 307.02°)
OKLaboklab(75.17% 0.072 -0.1237)
OKLCHoklch(75.17% 0.143 300.2)
XYZxyz(49.6232, 40.2401, 96.4009)
Luminance0.4024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD98FB #D6FB98
analogous
#98A5FB #BD98FB #EE98FB
triadic
#BD98FB #FBBD98 #98FBBD
tetradic
#BD98FB #FB98A5 #D6FB98 #98FBEE
square
#BD98FB #FB98A5 #D6FB98 #98FBEE
split-complementary
#BD98FB #FBEE98 #A5FB98
monochromatic
#7222F6 #975DF9 #BD98FB #E3D3FD #ECE2FE

Accessibility & contrast

On white

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

On black

9.05
#BD98FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD98FB
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD98FB#FFFFFF#000000##000000
##BD98FB1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EAAFF
Deuteranopia (green-blind)
#86AAF8
Tritanopia (blue-blind)
#B1A9BE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bd98fb;
/* rgb */ color: rgb(189, 152, 251);
/* oklch */ color: oklch(75.2% 0.143 300.2);
Tailwind
colors: {
  custom: {
    50: '#d2b6fd',
    500: '#bd98fb',
    950: '#000000',
  },
}
SCSS
$custom: #bd98fb;
$custom-light: #d2b6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#bd98fb",
  "rgb": {
    "r": 189,
    "g": 152,
    "b": 251
  },
  "hsl": {
    "h": 262.424,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.75165,
    "c": 0.14313,
    "h": 300.2
  },
  "luminance": 0.4024
}

Semantic roles & 50–950 ramp

primary
#BD98FB
secondary
#EAF6D5
accent
#E60090
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BD98FB

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

Preview Lab → · Contrast checker → · Palette generator →

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