#BD98FF#BD98FF

#BD98FF is a light, vivid violet. Relative luminance 0.405; OKLCH L 75.4% C 0.148 H 299.4°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#BD98FF
RGBrgb(189, 152, 255)
HSLhsl(262, 100%, 80%)
HSVhsv(262, 40%, 100%)
CMYKcmyk(25.9%, 40.4%, 0%, 0%)
CIE-LABlab(69.82, 34.41, -46.28)
CIE-LCHlch(69.82, 57.67, 306.63°)
OKLaboklab(75.36% 0.0727 -0.1292)
OKLCHoklch(75.36% 0.148 299.4)
XYZxyz(50.2604, 40.4950, 99.7568)
Luminance0.4049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD98FF #DAFF98
analogous
#98A7FF #BD98FF #F098FF
triadic
#BD98FF #FFBD98 #98FFBD
tetradic
#BD98FF #FF98A7 #DAFF98 #98FFF0
square
#BD98FF #FF98A7 #DAFF98 #98FFF0
split-complementary
#BD98FF #FFF098 #A7FF98
monochromatic
#6F1EFF #965BFF #BD98FF #E4D5FF #EBE0FF

Accessibility & contrast

On white

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

On black

9.10
#BD98FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD98FF
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD98FF#FFFFFF#000000##000000
##BD98FF1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CAAFF
Deuteranopia (green-blind)
#84AAFC
Tritanopia (blue-blind)
#B0AABF
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bd98ff;
/* rgb */ color: rgb(189, 152, 255);
/* oklch */ color: oklch(75.4% 0.148 299.4);
Tailwind
colors: {
  custom: {
    50: '#d3b6ff',
    500: '#bd98ff',
    950: '#000000',
  },
}
SCSS
$custom: #bd98ff;
$custom-light: #d3b6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bd98ff",
  "rgb": {
    "r": 189,
    "g": 152,
    "b": 255
  },
  "hsl": {
    "h": 261.553,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.75361,
    "c": 0.14825,
    "h": 299.4
  },
  "luminance": 0.40495
}

Semantic roles & 50–950 ramp

primary
#BD98FF
secondary
#EBF7D4
accent
#E60093
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BD98FF

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

Preview Lab → · Contrast checker → · Palette generator →

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