#BD97F4#BD97F4

#BD97F4 is a light, vivid violet. Relative luminance 0.395; OKLCH L 74.7% C 0.136 H 302.0°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#BD97F4
RGBrgb(189, 151, 244)
HSLhsl(265, 81%, 77%)
HSVhsv(265, 38%, 96%)
CMYKcmyk(22.5%, 38.1%, 0%, 4.3%)
CIE-LABlab(69.10, 32.40, -41.42)
CIE-LCHlch(69.10, 52.59, 308.04°)
OKLaboklab(74.65% 0.072 -0.1151)
OKLCHoklch(74.65% 0.136 302)
XYZxyz(48.3785, 39.4837, 90.6428)
Luminance0.3948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD97F4 #CEF497
analogous
#97A0F4 #BD97F4 #EC97F4
triadic
#BD97F4 #F4BD97 #97F4BD
tetradic
#BD97F4 #F497A0 #CEF497 #97F4EC
square
#BD97F4 #F497A0 #CEF497 #97F4EC
split-complementary
#BD97F4 #F4EC97 #A0F497
monochromatic
#7728E8 #9A60EE #BD97F4 #E0CEFA #EDE3FC

Accessibility & contrast

On white

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

On black

8.90
#BD97F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD97F4
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD97F4#FFFFFF#000000##000000
##BD97F41.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A8F8
Deuteranopia (green-blind)
#88A8F2
Tritanopia (blue-blind)
#B3A6BA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bd97f4;
/* rgb */ color: rgb(189, 151, 244);
/* oklch */ color: oklch(74.7% 0.136 302.0);
Tailwind
colors: {
  custom: {
    50: '#d2b6f8',
    500: '#bd97f4',
    950: '#000000',
  },
}
SCSS
$custom: #bd97f4;
$custom-light: #d2b6f8;
$custom-dark: #000000;
JSON
{
  "hex": "#bd97f4",
  "rgb": {
    "r": 189,
    "g": 151,
    "b": 244
  },
  "hsl": {
    "h": 264.516,
    "s": 80.87,
    "l": 77.451
  },
  "oklch": {
    "l": 0.74654,
    "c": 0.13578,
    "h": 302
  },
  "luminance": 0.39484
}

Semantic roles & 50–950 ramp

primary
#BD97F4
secondary
#E8F4D7
accent
#DD0886
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BD97F4

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

Preview Lab → · Contrast checker → · Palette generator →

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