#B97FF0#B97FF0

#B97FF0 is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.0% C 0.168 H 306.2°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#B97FF0
RGBrgb(185, 127, 240)
HSLhsl(271, 79%, 72%)
HSVhsv(271, 47%, 94%)
CMYKcmyk(22.9%, 47.1%, 0%, 5.9%)
CIE-LABlab(63.16, 43.57, -48.58)
CIE-LCHlch(63.16, 65.25, 311.89°)
OKLaboklab(70.04% 0.0995 -0.1359)
OKLCHoklch(70.04% 0.168 306.2)
XYZxyz(43.3219, 31.7846, 86.2740)
Luminance0.3178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97FF0 #B6F07F
analogous
#817FF0 #B97FF0 #F07FEF
triadic
#B97FF0 #F0B97F #7FF0B9
tetradic
#B97FF0 #F0817F #B6F07F #7FEFF0
square
#B97FF0 #F0817F #B6F07F #7FEFF0
split-complementary
#B97FF0 #EFF07F #7FF081
monochromatic
#7D1ADB #9B48EA #B97FF0 #D7B6F6 #F0E4FC

Accessibility & contrast

On white

2.85
#B97FF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#B97FF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97FF0
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97FF0#FFFFFF#000000##000000
##B97FF01.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6197F4
Deuteranopia (green-blind)
#7099ED
Tritanopia (blue-blind)
#B192AC
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b97ff0;
/* rgb */ color: rgb(185, 127, 240);
/* oklch */ color: oklch(70.0% 0.168 306.2);
Tailwind
colors: {
  custom: {
    50: '#d0a5f5',
    500: '#b97ff0',
    950: '#000000',
  },
}
SCSS
$custom: #b97ff0;
$custom-light: #d0a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b97ff0",
  "rgb": {
    "r": 185,
    "g": 127,
    "b": 240
  },
  "hsl": {
    "h": 270.796,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.70036,
    "c": 0.16841,
    "h": 306.2
  },
  "luminance": 0.31784
}

Semantic roles & 50–950 ramp

primary
#B97FF0
secondary
#E5F4D7
accent
#DB0A70
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#140F17
muted
#837F85

Preview Lab

Preview with #B97FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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