#B997FC#B997FC

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

Color values

HEX#B997FC
RGBrgb(185, 151, 252)
HSLhsl(260, 94%, 79%)
HSVhsv(260, 40%, 99%)
CMYKcmyk(26.6%, 40.1%, 0%, 1.2%)
CIE-LABlab(69.09, 33.15, -45.82)
CIE-LCHlch(69.09, 56.55, 305.89°)
OKLaboklab(74.68% 0.0689 -0.1279)
OKLCHoklch(74.68% 0.145 298.3)
XYZxyz(48.6408, 39.4754, 97.1335)
Luminance0.3948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B997FC #DAFC97
analogous
#97A8FC #B997FC #EC97FC
triadic
#B997FC #FCB997 #97FCB9
tetradic
#B997FC #FC97A8 #DAFC97 #97FCEC
square
#B997FC #FC97A8 #DAFC97 #97FCEC
split-complementary
#B997FC #FCEC97 #A8FC97
monochromatic
#6920F9 #915CFA #B997FC #E1D2FE #EBE1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B997FC#FFFFFF#000000##000000
##B997FC1.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)
#7CA9FF
Deuteranopia (green-blind)
#82A8F9
Tritanopia (blue-blind)
#ACA8BE
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b997fc;
/* rgb */ color: rgb(185, 151, 252);
/* oklch */ color: oklch(74.7% 0.145 298.3);
Tailwind
colors: {
  custom: {
    50: '#d0b6fe',
    500: '#b997fc',
    950: '#000000',
  },
}
SCSS
$custom: #b997fc;
$custom-light: #d0b6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b997fc",
  "rgb": {
    "r": 185,
    "g": 151,
    "b": 252
  },
  "hsl": {
    "h": 260.198,
    "s": 94.393,
    "l": 79.02
  },
  "oklch": {
    "l": 0.74681,
    "c": 0.14531,
    "h": 298.3
  },
  "luminance": 0.39476
}

Semantic roles & 50–950 ramp

primary
#B997FC
secondary
#EBF6D5
accent
#E60098
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141118
muted
#828086

Preview Lab

Preview with #B997FC

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

Preview Lab → · Contrast checker → · Palette generator →

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