#B72AFE#B72AFE

#B72AFE is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 61.1% C 0.285 H 310.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B72AFE
RGBrgb(183, 42, 254)
HSLhsl(280, 99%, 58%)
HSVhsv(280, 83%, 100%)
CMYKcmyk(28%, 83.5%, 0%, 0.4%)
CIE-LABlab(50.55, 82.29, -76.63)
CIE-LCHlch(50.55, 112.44, 317.04°)
OKLaboklab(61.15% 0.1833 -0.2177)
OKLCHoklch(61.15% 0.285 310.1)
XYZxyz(38.2422, 18.8798, 95.3763)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B72AFE #71FE2A
analogous
#4D2AFE #B72AFE #FE2ADB
triadic
#B72AFE #FEB72A #2AFEB7
tetradic
#B72AFE #FE4D2A #71FE2A #2ADBFE
square
#B72AFE #FE4D2A #71FE2A #2ADBFE
split-complementary
#B72AFE #DBFE2A #2AFE4D
monochromatic
#7301AD #9C01EA #B72AFE #CC67FE #E0A4FF

Accessibility & contrast

On white

4.40
#B72AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#B72AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B72AFE
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B72AFE#FFFFFF#000000##000000
##B72AFE1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073FF
Deuteranopia (green-blind)
#007AFA
Tritanopia (blue-blind)
#AD6599
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b72afe;
/* rgb */ color: rgb(183, 42, 254);
/* oklch */ color: oklch(61.1% 0.285 310.1);
Tailwind
colors: {
  custom: {
    50: '#d378ff',
    500: '#b72afe',
    950: '#000000',
  },
}
SCSS
$custom: #b72afe;
$custom-light: #d378ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b72afe",
  "rgb": {
    "r": 183,
    "g": 42,
    "b": 254
  },
  "hsl": {
    "h": 279.906,
    "s": 99.065,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61145,
    "c": 0.28459,
    "h": 310.1
  },
  "luminance": 0.18879
}

Semantic roles & 50–950 ramp

primary
#B72AFE
secondary
#B4EC98
accent
#FF2971
background
#FDF7FF
surface
#FBEEFF
border
#D4C9D7
text
#150A18
muted
#837C86

Preview Lab

Preview with #B72AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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