#B05EC2#B05EC2

#B05EC2 is a mid, vivid purple. Relative luminance 0.211; OKLCH L 61.6% C 0.167 H 320.2°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B05EC2
RGBrgb(176, 94, 194)
HSLhsl(289, 45%, 56%)
HSVhsv(289, 52%, 76%)
CMYKcmyk(9.3%, 51.5%, 0%, 23.9%)
CIE-LABlab(53.09, 48.72, -38.63)
CIE-LCHlch(53.09, 62.18, 321.59°)
OKLaboklab(61.6% 0.1284 -0.1071)
OKLCHoklch(61.6% 0.167 320.2)
XYZxyz(31.6436, 21.1318, 53.4405)
Luminance0.2113 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B05EC2 #70C25E
analogous
#7E5EC2 #B05EC2 #C25EA2
triadic
#B05EC2 #C2B05E #5EC2B0
tetradic
#B05EC2 #C27E5E #70C25E #5EA2C2
square
#B05EC2 #C27E5E #70C25E #5EA2C2
split-complementary
#B05EC2 #A2C25E #5EC27E
monochromatic
#6B2E78 #923EA4 #B05EC2 #C68AD3 #DCB7E4

Accessibility & contrast

On white

4.02
#B05EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#B05EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B05EC2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B05EC2#FFFFFF#000000##000000
##B05EC21.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D79C5
Deuteranopia (green-blind)
#6682BF
Tritanopia (blue-blind)
#B16C87
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b05ec2;
/* rgb */ color: rgb(176, 94, 194);
/* oklch */ color: oklch(61.6% 0.167 320.2);
Tailwind
colors: {
  custom: {
    50: '#ca8fd5',
    500: '#b05ec2',
    950: '#000000',
  },
}
SCSS
$custom: #b05ec2;
$custom-light: #ca8fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#b05ec2",
  "rgb": {
    "r": 176,
    "g": 94,
    "b": 194
  },
  "hsl": {
    "h": 289.2,
    "s": 45.045,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61595,
    "c": 0.16716,
    "h": 320.2
  },
  "luminance": 0.21131
}

Semantic roles & 50–950 ramp

primary
#B05EC2
secondary
#B1D2A9
accent
#D5536A
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#130D14
muted
#827D83

Preview Lab

Preview with #B05EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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