#B718CA#B718CA

#B718CA is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.6% C 0.256 H 322.9°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#B718CA
RGBrgb(183, 24, 202)
HSLhsl(294, 79%, 44%)
HSVhsv(294, 88%, 79%)
CMYKcmyk(9.4%, 88.1%, 0%, 20.8%)
CIE-LABlab(45.62, 76.78, -55.10)
CIE-LCHlch(45.62, 94.50, 324.34°)
OKLaboklab(56.56% 0.2039 -0.1544)
OKLCHoklch(56.56% 0.256 322.9)
XYZxyz(30.5147, 14.9867, 57.1511)
Luminance0.1499 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B718CA #2BCA18
analogous
#5E18CA #B718CA #CA1884
triadic
#B718CA #CAB718 #18CAB7
tetradic
#B718CA #CA5E18 #2BCA18 #1884CA
square
#B718CA #CA5E18 #2BCA18 #1884CA
split-complementary
#B718CA #84CA18 #18CA5E
monochromatic
#540B5D #851293 #B718CA #D538E7 #E06FEE

Accessibility & contrast

On white

5.25
#B718CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#B718CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B718CA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B718CA#FFFFFF#000000##FFFFFF
##B718CA1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#3D72C6
Tritanopia (blue-blind)
#BA4478
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b718ca;
/* rgb */ color: rgb(183, 24, 202);
/* oklch */ color: oklch(56.6% 0.256 322.9);
Tailwind
colors: {
  custom: {
    50: '#d170db',
    500: '#b718ca',
    950: '#000000',
  },
}
SCSS
$custom: #b718ca;
$custom-light: #d170db;
$custom-dark: #000000;
JSON
{
  "hex": "#b718ca",
  "rgb": {
    "r": 183,
    "g": 24,
    "b": 202
  },
  "hsl": {
    "h": 293.596,
    "s": 78.761,
    "l": 44.314
  },
  "oklch": {
    "l": 0.56562,
    "c": 0.25577,
    "h": 322.9
  },
  "luminance": 0.14985
}

Semantic roles & 50–950 ramp

primary
#B718CA
secondary
#75D46A
accent
#F53347
background
#FDF7FD
surface
#FBEDFB
border
#D4C8D4
text
#150915
muted
#837B83

Preview Lab

Preview with #B718CA

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

Preview Lab → · Contrast checker → · Palette generator →

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