#B97CFD#B97CFD

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

Color values

HEX#B97CFD
RGBrgb(185, 124, 253)
HSLhsl(268, 97%, 74%)
HSVhsv(268, 51%, 99%)
CMYKcmyk(26.9%, 51%, 0%, 0.8%)
CIE-LABlab(63.20, 48.17, -55.69)
CIE-LCHlch(63.20, 73.63, 310.86°)
OKLaboklab(70.28% 0.1048 -0.1566)
OKLCHoklch(70.28% 0.188 303.8)
XYZxyz(44.9410, 31.8216, 96.6840)
Luminance0.3182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B97CFD #C0FD7C
analogous
#7C80FD #B97CFD #F97CFD
triadic
#B97CFD #FDB97C #7CFDB9
tetradic
#B97CFD #FD7C80 #C0FD7C #7CFDF9
square
#B97CFD #FD7C80 #C0FD7C #7CFDF9
split-complementary
#B97CFD #FDF97C #80FD7C
monochromatic
#7904FB #9940FC #B97CFD #D9B8FE #EFE1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B97CFD#FFFFFF#000000##000000
##B97CFD1.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)
#5297FF
Deuteranopia (green-blind)
#6499FA
Tritanopia (blue-blind)
#AD94B1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b97cfd;
/* rgb */ color: rgb(185, 124, 253);
/* oklch */ color: oklch(70.3% 0.188 303.8);
Tailwind
colors: {
  custom: {
    50: '#d1a3ff',
    500: '#b97cfd',
    950: '#000000',
  },
}
SCSS
$custom: #b97cfd;
$custom-light: #d1a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b97cfd",
  "rgb": {
    "r": 185,
    "g": 124,
    "b": 253
  },
  "hsl": {
    "h": 268.372,
    "s": 96.992,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70275,
    "c": 0.1884,
    "h": 303.8
  },
  "luminance": 0.31821
}

Semantic roles & 50–950 ramp

primary
#B97CFD
secondary
#E6F7D4
accent
#E60079
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B97CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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