#B116CD#B116CD

#B116CD is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.8% C 0.257 H 320.3°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#B116CD
RGBrgb(177, 22, 205)
HSLhsl(291, 81%, 45%)
HSVhsv(291, 89%, 80%)
CMYKcmyk(13.7%, 89.3%, 0%, 19.6%)
CIE-LABlab(44.70, 76.64, -58.36)
CIE-LCHlch(44.70, 96.33, 322.71°)
OKLaboklab(55.8% 0.1976 -0.1641)
OKLCHoklch(55.8% 0.257 320.3)
XYZxyz(29.4365, 14.3303, 58.9613)
Luminance0.1433 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B116CD #32CD16
analogous
#5616CD #B116CD #CD168D
triadic
#B116CD #CDB116 #16CDB1
tetradic
#B116CD #CD5616 #32CD16 #168DCD
square
#B116CD #CD5616 #32CD16 #168DCD
split-complementary
#B116CD #8DCD16 #16CD56
monochromatic
#520A5E #811096 #B116CD #CE37EA #DC6EEF

Accessibility & contrast

On white

5.43
#B116CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#B116CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B116CD
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B116CD#FFFFFF#000000##FFFFFF
##B116CD1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#306FC9
Tritanopia (blue-blind)
#B1477A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b116cd;
/* rgb */ color: rgb(177, 22, 205);
/* oklch */ color: oklch(55.8% 0.257 320.3);
Tailwind
colors: {
  custom: {
    50: '#cd6fdd',
    500: '#b116cd',
    950: '#000000',
  },
}
SCSS
$custom: #b116cd;
$custom-light: #cd6fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#b116cd",
  "rgb": {
    "r": 177,
    "g": 22,
    "b": 205
  },
  "hsl": {
    "h": 290.82,
    "s": 80.617,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55797,
    "c": 0.2569,
    "h": 320.3
  },
  "luminance": 0.14329
}

Semantic roles & 50–950 ramp

primary
#B116CD
secondary
#7AD569
accent
#F7314F
background
#FDF7FD
surface
#FAEDFB
border
#D3C8D4
text
#140915
muted
#837B83

Preview Lab

Preview with #B116CD

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

Preview Lab → · Contrast checker → · Palette generator →

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