#B97FFB#B97FFB

#B97FFB is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.6% C 0.181 H 303.7°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#B97FFB
RGBrgb(185, 127, 251)
HSLhsl(268, 94%, 74%)
HSVhsv(268, 49%, 98%)
CMYKcmyk(26.3%, 49.4%, 0%, 1.6%)
CIE-LABlab(63.72, 46.09, -53.76)
CIE-LCHlch(63.72, 70.81, 310.61°)
OKLaboklab(70.63% 0.1007 -0.151)
OKLCHoklch(70.63% 0.181 303.7)
XYZxyz(45.0057, 32.4582, 95.1421)
Luminance0.3246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97FFB #C1FB7F
analogous
#7F83FB #B97FFB #F77FFB
triadic
#B97FFB #FBB97F #7FFBB9
tetradic
#B97FFB #FB7F83 #C1FB7F #7FFBF7
square
#B97FFB #FB7F83 #C1FB7F #7FFBF7
split-complementary
#B97FFB #FBF77F #83FB7F
monochromatic
#7808F7 #9944F9 #B97FFB #D9BAFD #EFE1FE

Accessibility & contrast

On white

2.80
#B97FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#B97FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97FFB
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97FFB#FFFFFF#000000##000000
##B97FFB1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5999FF
Deuteranopia (green-blind)
#699AF8
Tritanopia (blue-blind)
#AD95B1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b97ffb;
/* rgb */ color: rgb(185, 127, 251);
/* oklch */ color: oklch(70.6% 0.181 303.7);
Tailwind
colors: {
  custom: {
    50: '#d1a5fd',
    500: '#b97ffb',
    950: '#000000',
  },
}
SCSS
$custom: #b97ffb;
$custom-light: #d1a5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b97ffb",
  "rgb": {
    "r": 185,
    "g": 127,
    "b": 251
  },
  "hsl": {
    "h": 268.065,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.70631,
    "c": 0.18146,
    "h": 303.7
  },
  "luminance": 0.32458
}

Semantic roles & 50–950 ramp

primary
#B97FFB
secondary
#E7F6D5
accent
#E6007A
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B97FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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