#B13ECB#B13ECB

#B13ECB is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.4% C 0.222 H 319.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B13ECB
RGBrgb(177, 62, 203)
HSLhsl(289, 58%, 52%)
HSVhsv(289, 69%, 80%)
CMYKcmyk(12.8%, 69.5%, 0%, 20.4%)
CIE-LABlab(48.39, 65.25, -51.27)
CIE-LCHlch(48.39, 82.98, 321.84°)
OKLaboklab(58.36% 0.1688 -0.1436)
OKLCHoklch(58.36% 0.222 319.6)
XYZxyz(30.6322, 17.1056, 58.1765)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13ECB #58CB3E
analogous
#6B3ECB #B13ECB #CB3E9F
triadic
#B13ECB #CBB13E #3ECBB1
tetradic
#B13ECB #CB6B3E #58CB3E #3E9FCB
square
#B13ECB #CB6B3E #58CB3E #3E9FCB
split-complementary
#B13ECB #9FCB3E #3ECB6B
monochromatic
#611E70 #8B2BA1 #B13ECB #C46ED8 #D89EE5

Accessibility & contrast

On white

4.75
#B13ECB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#B13ECB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B13ECB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13ECB#FFFFFF#000000##FFFFFF
##B13ECB1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#4977C8
Tritanopia (blue-blind)
#B15880
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b13ecb;
/* rgb */ color: rgb(177, 62, 203);
/* oklch */ color: oklch(58.4% 0.222 319.6);
Tailwind
colors: {
  custom: {
    50: '#cc7ddb',
    500: '#b13ecb',
    950: '#000000',
  },
}
SCSS
$custom: #b13ecb;
$custom-light: #cc7ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#b13ecb",
  "rgb": {
    "r": 177,
    "g": 62,
    "b": 203
  },
  "hsl": {
    "h": 288.936,
    "s": 57.551,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58363,
    "c": 0.2216,
    "h": 319.6
  },
  "luminance": 0.17104
}

Semantic roles & 50–950 ramp

primary
#B13ECB
secondary
#9FD194
accent
#E14763
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B13ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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