#B366A7#B366A7

#B366A7 is a mid, vivid purple. Relative luminance 0.219; OKLCH L 61.9% C 0.129 H 333.0°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#B366A7
RGBrgb(179, 102, 167)
HSLhsl(309, 34%, 55%)
HSVhsv(309, 43%, 70%)
CMYKcmyk(0%, 43%, 6.7%, 29.8%)
CIE-LABlab(53.90, 40.34, -21.74)
CIE-LCHlch(53.90, 45.83, 331.68°)
OKLaboklab(61.89% 0.1153 -0.0588)
OKLCHoklch(61.89% 0.129 333)
XYZxyz(30.3166, 21.8782, 39.1778)
Luminance0.2188 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366A7 #66B372
analogous
#9966B3 #B366A7 #B36680
triadic
#B366A7 #A7B366 #66A7B3
tetradic
#B366A7 #B39966 #66B372 #6680B3
square
#B366A7 #B39966 #66B372 #6680B3
split-complementary
#B366A7 #80B366 #66B399
monochromatic
#6A3562 #934987 #B366A7 #C78FBF #DCB8D6

Accessibility & contrast

On white

3.91
#B366A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#B366A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366A7
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366A7#FFFFFF#000000##000000
##B366A71.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#657AA9
Deuteranopia (green-blind)
#7985A5
Tritanopia (blue-blind)
#B96A7F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b366a7;
/* rgb */ color: rgb(179, 102, 167);
/* oklch */ color: oklch(61.9% 0.129 333.0);
Tailwind
colors: {
  custom: {
    50: '#cb94c1',
    500: '#b366a7',
    950: '#000000',
  },
}
SCSS
$custom: #b366a7;
$custom-light: #cb94c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b366a7",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 167
  },
  "hsl": {
    "h": 309.351,
    "s": 33.624,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61885,
    "c": 0.12939,
    "h": 333
  },
  "luminance": 0.21876
}

Semantic roles & 50–950 ramp

primary
#B366A7
secondary
#AACBAF
accent
#CA6F5E
background
#FCF9FB
surface
#F9F1F7
border
#D2CBD0
text
#130D12
muted
#827E81

Preview Lab

Preview with #B366A7

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

Preview Lab → · Contrast checker → · Palette generator →

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