#BD98FC#BD98FC

#BD98FC is a light, vivid violet. Relative luminance 0.403; OKLCH L 75.2% C 0.144 H 300.0°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#BD98FC
RGBrgb(189, 152, 252)
HSLhsl(262, 94%, 79%)
HSVhsv(262, 40%, 99%)
CMYKcmyk(25%, 39.7%, 0%, 1.2%)
CIE-LABlab(69.69, 33.71, -44.86)
CIE-LCHlch(69.69, 56.11, 306.92°)
OKLaboklab(75.21% 0.0722 -0.1251)
OKLCHoklch(75.21% 0.144 300)
XYZxyz(49.7812, 40.3033, 97.2333)
Luminance0.4030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD98FC #D7FC98
analogous
#98A5FC #BD98FC #EF98FC
triadic
#BD98FC #FCBD98 #98FCBD
tetradic
#BD98FC #FC98A5 #D7FC98 #98FCEF
square
#BD98FC #FC98A5 #D7FC98 #98FCEF
split-complementary
#BD98FC #FCEF98 #A5FC98
monochromatic
#7121F9 #975DFA #BD98FC #E3D3FE #ECE1FE

Accessibility & contrast

On white

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

On black

9.06
#BD98FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD98FC
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD98FC#FFFFFF#000000##000000
##BD98FC1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bd98fc;
/* rgb */ color: rgb(189, 152, 252);
/* oklch */ color: oklch(75.2% 0.144 300.0);
Tailwind
colors: {
  custom: {
    50: '#d3b6fe',
    500: '#bd98fc',
    950: '#000000',
  },
}
SCSS
$custom: #bd98fc;
$custom-light: #d3b6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#bd98fc",
  "rgb": {
    "r": 189,
    "g": 152,
    "b": 252
  },
  "hsl": {
    "h": 262.2,
    "s": 94.34,
    "l": 79.216
  },
  "oklch": {
    "l": 0.75214,
    "c": 0.14441,
    "h": 300
  },
  "luminance": 0.40304
}

Semantic roles & 50–950 ramp

primary
#BD98FC
secondary
#EAF6D5
accent
#E60091
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BD98FC

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

Preview Lab → · Contrast checker → · Palette generator →

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