#B97CFE#B97CFE

#B97CFE is a light, vivid violet. Relative luminance 0.319; OKLCH L 70.3% C 0.190 H 303.6°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#B97CFE
RGBrgb(185, 124, 254)
HSLhsl(268, 98%, 74%)
HSVhsv(268, 51%, 100%)
CMYKcmyk(27.2%, 51.2%, 0%, 0.4%)
CIE-LABlab(63.25, 48.40, -56.15)
CIE-LCHlch(63.25, 74.14, 310.76°)
OKLaboklab(70.33% 0.1048 -0.158)
OKLCHoklch(70.33% 0.19 303.6)
XYZxyz(45.1007, 31.8854, 97.5252)
Luminance0.3189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97CFE #C1FE7C
analogous
#7C80FE #B97CFE #FA7CFE
triadic
#B97CFE #FEB97C #7CFEB9
tetradic
#B97CFE #FE7C80 #C1FE7C #7CFEFA
square
#B97CFE #FE7C80 #C1FE7C #7CFEFA
split-complementary
#B97CFE #FEFA7C #80FE7C
monochromatic
#7803FD #993FFE #B97CFE #D9B9FE #EFE1FF

Accessibility & contrast

On white

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

On black

7.38
#B97CFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B97CFE
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B97CFE#FFFFFF#000000##000000
##B97CFE1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5198FF
Deuteranopia (green-blind)
#6399FB
Tritanopia (blue-blind)
#AD94B2
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b97cfe;
/* rgb */ color: rgb(185, 124, 254);
/* oklch */ color: oklch(70.3% 0.190 303.6);
Tailwind
colors: {
  custom: {
    50: '#d1a3ff',
    500: '#b97cfe',
    950: '#000000',
  },
}
SCSS
$custom: #b97cfe;
$custom-light: #d1a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b97cfe",
  "rgb": {
    "r": 185,
    "g": 124,
    "b": 254
  },
  "hsl": {
    "h": 268.154,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.70331,
    "c": 0.18957,
    "h": 303.6
  },
  "luminance": 0.31885
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B97CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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