#BD97FC#BD97FC

#BD97FC is a light, vivid violet. Relative luminance 0.400; OKLCH L 75.0% C 0.146 H 300.3°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#BD97FC
RGBrgb(189, 151, 252)
HSLhsl(263, 94%, 79%)
HSVhsv(263, 40%, 99%)
CMYKcmyk(25%, 40.1%, 0%, 1.2%)
CIE-LABlab(69.46, 34.26, -45.22)
CIE-LCHlch(69.46, 56.74, 307.15°)
OKLaboklab(75.04% 0.0736 -0.1261)
OKLCHoklch(75.04% 0.146 300.3)
XYZxyz(49.6196, 39.9801, 97.1794)
Luminance0.3998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD97FC #D6FC97
analogous
#97A4FC #BD97FC #F097FC
triadic
#BD97FC #FCBD97 #97FCBD
tetradic
#BD97FC #FC97A4 #D6FC97 #97FCF0
square
#BD97FC #FC97A4 #D6FC97 #97FCF0
split-complementary
#BD97FC #FCF097 #A4FC97
monochromatic
#7220F9 #975CFA #BD97FC #E3D2FE #ECE1FE

Accessibility & contrast

On white

2.33
#BD97FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#BD97FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD97FC
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD97FC#FFFFFF#000000##000000
##BD97FC1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA9FF
Deuteranopia (green-blind)
#84A9F9
Tritanopia (blue-blind)
#B1A8BE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bd97fc;
/* rgb */ color: rgb(189, 151, 252);
/* oklch */ color: oklch(75.0% 0.146 300.3);
Tailwind
colors: {
  custom: {
    50: '#d3b6fe',
    500: '#bd97fc',
    950: '#000000',
  },
}
SCSS
$custom: #bd97fc;
$custom-light: #d3b6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#bd97fc",
  "rgb": {
    "r": 189,
    "g": 151,
    "b": 252
  },
  "hsl": {
    "h": 262.574,
    "s": 94.393,
    "l": 79.02
  },
  "oklch": {
    "l": 0.7504,
    "c": 0.146,
    "h": 300.3
  },
  "luminance": 0.3998
}

Semantic roles & 50–950 ramp

primary
#BD97FC
secondary
#EAF6D5
accent
#E6008F
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BD97FC

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

Preview Lab → · Contrast checker → · Palette generator →

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