#B972F7#B972F7

#B972F7 is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.4% C 0.197 H 306.6°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#B972F7
RGBrgb(185, 114, 247)
HSLhsl(272, 89%, 71%)
HSVhsv(272, 54%, 97%)
CMYKcmyk(25.1%, 53.8%, 0%, 3.1%)
CIE-LABlab(60.84, 52.07, -56.14)
CIE-LCHlch(60.84, 76.57, 312.85°)
OKLaboklab(68.43% 0.1171 -0.1579)
OKLCHoklch(68.43% 0.197 306.6)
XYZxyz(42.8099, 29.0647, 91.3324)
Luminance0.2906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B972F7 #B0F772
analogous
#7672F7 #B972F7 #F772F3
triadic
#B972F7 #F7B972 #72F7B9
tetradic
#B972F7 #F77672 #B0F772 #72F3F7
square
#B972F7 #F77672 #B0F772 #72F3F7
split-complementary
#B972F7 #F3F772 #72F776
monochromatic
#7F0DE2 #9C38F4 #B972F7 #D6ACFA #F1E2FD

Accessibility & contrast

On white

3.08
#B972F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#B972F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B972F7
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B972F7#FFFFFF#000000##000000
##B972F71.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4690FB
Deuteranopia (green-blind)
#5E93F4
Tritanopia (blue-blind)
#AF8AAA
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b972f7;
/* rgb */ color: rgb(185, 114, 247);
/* oklch */ color: oklch(68.4% 0.197 306.6);
Tailwind
colors: {
  custom: {
    50: '#d19dfa',
    500: '#b972f7',
    950: '#000000',
  },
}
SCSS
$custom: #b972f7;
$custom-light: #d19dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#b972f7",
  "rgb": {
    "r": 185,
    "g": 114,
    "b": 247
  },
  "hsl": {
    "h": 272.03,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.6843,
    "c": 0.19658,
    "h": 306.6
  },
  "luminance": 0.29064
}

Semantic roles & 50–950 ramp

primary
#B972F7
secondary
#E1F4D1
accent
#E6006B
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B972F7

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

Preview Lab → · Contrast checker → · Palette generator →

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