#B997FA#B997FA

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

Color values

HEX#B997FA
RGBrgb(185, 151, 250)
HSLhsl(261, 91%, 79%)
HSVhsv(261, 40%, 98%)
CMYKcmyk(26%, 39.6%, 0%, 2%)
CIE-LABlab(69.00, 32.68, -44.87)
CIE-LCHlch(69.00, 55.51, 306.06°)
OKLaboklab(74.58% 0.0686 -0.1252)
OKLCHoklch(74.58% 0.143 298.7)
XYZxyz(48.3255, 39.3493, 95.4731)
Luminance0.3935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B997FA #D8FA97
analogous
#97A6FA #B997FA #EA97FA
triadic
#B997FA #FAB997 #97FAB9
tetradic
#B997FA #FA97A6 #D8FA97 #97FAEA
square
#B997FA #FA97A6 #D8FA97 #97FAEA
split-complementary
#B997FA #FAEA97 #A6FA97
monochromatic
#6A22F4 #925DF7 #B997FA #E0D1FD #EBE2FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B997FA#FFFFFF#000000##000000
##B997FA1.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)
#7DA8FE
Deuteranopia (green-blind)
#83A8F7
Tritanopia (blue-blind)
#ACA8BD
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b997fa;
/* rgb */ color: rgb(185, 151, 250);
/* oklch */ color: oklch(74.6% 0.143 298.7);
Tailwind
colors: {
  custom: {
    50: '#d0b6fc',
    500: '#b997fa',
    950: '#000000',
  },
}
SCSS
$custom: #b997fa;
$custom-light: #d0b6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b997fa",
  "rgb": {
    "r": 185,
    "g": 151,
    "b": 250
  },
  "hsl": {
    "h": 260.606,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.74583,
    "c": 0.14272,
    "h": 298.7
  },
  "luminance": 0.3935
}

Semantic roles & 50–950 ramp

primary
#B997FA
secondary
#EBF6D5
accent
#E60097
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B997FA

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

Preview Lab → · Contrast checker → · Palette generator →

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