#B06EC2#B06EC2

#B06EC2 is a light, vivid purple. Relative luminance 0.243; OKLCH L 64.0% C 0.140 H 318.8°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#B06EC2
RGBrgb(176, 110, 194)
HSLhsl(287, 41%, 60%)
HSVhsv(287, 43%, 76%)
CMYKcmyk(9.3%, 43.3%, 0%, 23.9%)
CIE-LABlab(56.37, 40.27, -33.51)
CIE-LCHlch(56.37, 52.39, 320.24°)
OKLaboklab(64.03% 0.1056 -0.0924)
OKLCHoklch(64.03% 0.14 318.8)
XYZxyz(33.2167, 24.2781, 53.9649)
Luminance0.2428 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B06EC2 #80C26E
analogous
#866EC2 #B06EC2 #C26EAA
triadic
#B06EC2 #C2B06E #6EC2B0
tetradic
#B06EC2 #C2866E #80C26E #6EAAC2
square
#B06EC2 #C2866E #80C26E #6EAAC2
split-complementary
#B06EC2 #AAC26E #6EC286
monochromatic
#703680 #9648AB #B06EC2 #C799D4 #DFC4E6

Accessibility & contrast

On white

3.59
#B06EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#B06EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B06EC2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B06EC2#FFFFFF#000000##000000
##B06EC21.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6183C5
Deuteranopia (green-blind)
#7389C0
Tritanopia (blue-blind)
#B0798F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b06ec2;
/* rgb */ color: rgb(176, 110, 194);
/* oklch */ color: oklch(64.0% 0.140 318.8);
Tailwind
colors: {
  custom: {
    50: '#c999d4',
    500: '#b06ec2',
    950: '#000000',
  },
}
SCSS
$custom: #b06ec2;
$custom-light: #c999d4;
$custom-dark: #000000;
JSON
{
  "hex": "#b06ec2",
  "rgb": {
    "r": 176,
    "g": 110,
    "b": 194
  },
  "hsl": {
    "h": 287.143,
    "s": 40.777,
    "l": 59.608
  },
  "oklch": {
    "l": 0.64027,
    "c": 0.1403,
    "h": 318.8
  },
  "luminance": 0.24277
}

Semantic roles & 50–950 ramp

primary
#B06EC2
secondary
#BDD6B6
accent
#D15771
background
#FCF9FD
surface
#F8F2FA
border
#D1CCD3
text
#130E14
muted
#827E83

Preview Lab

Preview with #B06EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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