#BD97F2#BD97F2

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

Color values

HEX#BD97F2
RGBrgb(189, 151, 242)
HSLhsl(265, 78%, 77%)
HSVhsv(265, 38%, 95%)
CMYKcmyk(21.9%, 37.6%, 0%, 5.1%)
CIE-LABlab(69.01, 31.95, -40.46)
CIE-LCHlch(69.01, 51.55, 308.29°)
OKLaboklab(74.56% 0.0716 -0.1123)
OKLCHoklch(74.56% 0.133 302.5)
XYZxyz(48.0765, 39.3628, 89.0522)
Luminance0.3936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD97F2 #CCF297
analogous
#979FF2 #BD97F2 #EB97F2
triadic
#BD97F2 #F2BD97 #97F2BD
tetradic
#BD97F2 #F2979F #CCF297 #97F2EB
square
#BD97F2 #F2979F #CCF297 #97F2EB
split-complementary
#BD97F2 #F2EB97 #9FF297
monochromatic
#782AE4 #9A61EB #BD97F2 #E0CDF9 #EEE4FC

Accessibility & contrast

On white

2.37
#BD97F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#BD97F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD97F2
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD97F2#FFFFFF#000000##000000
##BD97F21.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A8F5
Deuteranopia (green-blind)
#89A8F0
Tritanopia (blue-blind)
#B4A6B9
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bd97f2;
/* rgb */ color: rgb(189, 151, 242);
/* oklch */ color: oklch(74.6% 0.133 302.5);
Tailwind
colors: {
  custom: {
    50: '#d2b6f6',
    500: '#bd97f2',
    950: '#000000',
  },
}
SCSS
$custom: #bd97f2;
$custom-light: #d2b6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#bd97f2",
  "rgb": {
    "r": 189,
    "g": 151,
    "b": 242
  },
  "hsl": {
    "h": 265.055,
    "s": 77.778,
    "l": 77.059
  },
  "oklch": {
    "l": 0.7456,
    "c": 0.13323,
    "h": 302.5
  },
  "luminance": 0.39363
}

Semantic roles & 50–950 ramp

primary
#BD97F2
secondary
#E8F3D8
accent
#DA0B84
background
#FDFBFF
surface
#FAF6FE
border
#D3D0D6
text
#141117
muted
#838085

Preview Lab

Preview with #BD97F2

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

Preview Lab → · Contrast checker → · Palette generator →

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