#B366A8#B366A8

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

Color values

HEX#B366A8
RGBrgb(179, 102, 168)
HSLhsl(309, 34%, 55%)
HSVhsv(309, 43%, 70%)
CMYKcmyk(0%, 43%, 6.1%, 29.8%)
CIE-LABlab(53.94, 40.52, -22.26)
CIE-LCHlch(53.94, 46.23, 331.22°)
OKLaboklab(61.93% 0.1155 -0.0603)
OKLCHoklch(61.93% 0.13 332.4)
XYZxyz(30.4094, 21.9153, 39.6665)
Luminance0.2191 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366A8 #66B371
analogous
#9766B3 #B366A8 #B36682
triadic
#B366A8 #A8B366 #66A8B3
tetradic
#B366A8 #B39766 #66B371 #6682B3
square
#B366A8 #B39766 #66B371 #6682B3
split-complementary
#B366A8 #82B366 #66B397
monochromatic
#6A3562 #934988 #B366A8 #C78FBF #DCB8D7

Accessibility & contrast

On white

3.90
#B366A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B366A8#FFFFFF#000000##000000
##B366A81.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#647AAA
Deuteranopia (green-blind)
#7985A6
Tritanopia (blue-blind)
#B96B7F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b366a8;
/* rgb */ color: rgb(179, 102, 168);
/* oklch */ color: oklch(61.9% 0.130 332.4);
Tailwind
colors: {
  custom: {
    50: '#cb94c2',
    500: '#b366a8',
    950: '#000000',
  },
}
SCSS
$custom: #b366a8;
$custom-light: #cb94c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b366a8",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 168
  },
  "hsl": {
    "h": 308.571,
    "s": 33.624,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61927,
    "c": 0.13029,
    "h": 332.4
  },
  "luminance": 0.21914
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B366A8

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

Preview Lab → · Contrast checker → · Palette generator →

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