#B97CF7#B97CF7

#B97CF7 is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.9% C 0.181 H 305.1°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#B97CF7
RGBrgb(185, 124, 247)
HSLhsl(270, 88%, 73%)
HSVhsv(270, 50%, 97%)
CMYKcmyk(25.1%, 49.8%, 0%, 3.1%)
CIE-LABlab(62.88, 46.78, -52.89)
CIE-LCHlch(62.88, 70.61, 311.49°)
OKLaboklab(69.94% 0.1042 -0.1484)
OKLCHoklch(69.94% 0.181 305.1)
XYZxyz(44.0002, 31.4452, 91.7292)
Luminance0.3145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97CF7 #BAF77C
analogous
#7C7CF7 #B97CF7 #F67CF7
triadic
#B97CF7 #F7B97C #7CF7B9
tetradic
#B97CF7 #F77C7C #BAF77C #7CF7F6
square
#B97CF7 #F77C7C #BAF77C #7CF7F6
split-complementary
#B97CF7 #F7F67C #7CF77C
monochromatic
#7B0EEA #9A42F3 #B97CF7 #D8B6FB #F0E2FD

Accessibility & contrast

On white

2.88
#B97CF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#B97CF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97CF7
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97CF7#FFFFFF#000000##000000
##B97CF71.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5796FB
Deuteranopia (green-blind)
#6898F4
Tritanopia (blue-blind)
#AF92AE
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b97cf7;
/* rgb */ color: rgb(185, 124, 247);
/* oklch */ color: oklch(69.9% 0.181 305.1);
Tailwind
colors: {
  custom: {
    50: '#d1a3fa',
    500: '#b97cf7',
    950: '#000000',
  },
}
SCSS
$custom: #b97cf7;
$custom-light: #d1a3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b97cf7",
  "rgb": {
    "r": 185,
    "g": 124,
    "b": 247
  },
  "hsl": {
    "h": 269.756,
    "s": 88.489,
    "l": 72.745
  },
  "oklch": {
    "l": 0.69941,
    "c": 0.18137,
    "h": 305.1
  },
  "luminance": 0.31445
}

Semantic roles & 50–950 ramp

primary
#B97CF7
secondary
#E6F5D6
accent
#E50074
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B97CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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