#BD97F3#BD97F3

#BD97F3 is a light, vivid violet. Relative luminance 0.394; OKLCH L 74.6% C 0.135 H 302.3°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#BD97F3
RGBrgb(189, 151, 243)
HSLhsl(265, 79%, 77%)
HSVhsv(265, 38%, 95%)
CMYKcmyk(22.2%, 37.9%, 0%, 4.7%)
CIE-LABlab(69.06, 32.18, -40.94)
CIE-LCHlch(69.06, 52.07, 308.16°)
OKLaboklab(74.61% 0.0718 -0.1137)
OKLCHoklch(74.61% 0.135 302.3)
XYZxyz(48.2271, 39.4231, 89.8453)
Luminance0.3942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD97F3 #CDF397
analogous
#979FF3 #BD97F3 #EB97F3
triadic
#BD97F3 #F3BD97 #97F3BD
tetradic
#BD97F3 #F3979F #CDF397 #97F3EB
square
#BD97F3 #F3979F #CDF397 #97F3EB
split-complementary
#BD97F3 #F3EB97 #9FF397
monochromatic
#7729E6 #9A60ED #BD97F3 #E0CEF9 #EEE4FC

Accessibility & contrast

On white

2.36
#BD97F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#BD97F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD97F3
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD97F3#FFFFFF#000000##000000
##BD97F31.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A8F7
Deuteranopia (green-blind)
#89A8F1
Tritanopia (blue-blind)
#B4A6BA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bd97f3;
/* rgb */ color: rgb(189, 151, 243);
/* oklch */ color: oklch(74.6% 0.135 302.3);
Tailwind
colors: {
  custom: {
    50: '#d2b6f7',
    500: '#bd97f3',
    950: '#000000',
  },
}
SCSS
$custom: #bd97f3;
$custom-light: #d2b6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#bd97f3",
  "rgb": {
    "r": 189,
    "g": 151,
    "b": 243
  },
  "hsl": {
    "h": 264.783,
    "s": 79.31,
    "l": 77.255
  },
  "oklch": {
    "l": 0.74607,
    "c": 0.13451,
    "h": 302.3
  },
  "luminance": 0.39423
}

Semantic roles & 50–950 ramp

primary
#BD97F3
secondary
#E8F4D7
accent
#DC0A85
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BD97F3

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

Preview Lab → · Contrast checker → · Palette generator →

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