#B366C7#B366C7

#B366C7 is a light, vivid purple. Relative luminance 0.232; OKLCH L 63.4% C 0.161 H 319.1°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#B366C7
RGBrgb(179, 102, 199)
HSLhsl(288, 46%, 59%)
HSVhsv(288, 49%, 78%)
CMYKcmyk(10.1%, 48.7%, 0%, 22%)
CIE-LABlab(55.29, 46.43, -38.02)
CIE-LCHlch(55.29, 60.01, 320.69°)
OKLaboklab(63.38% 0.1215 -0.1053)
OKLCHoklch(63.38% 0.161 319.1)
XYZxyz(33.6492, 23.2112, 56.7295)
Luminance0.2321 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366C7 #7AC766
analogous
#8366C7 #B366C7 #C766AB
triadic
#B366C7 #C7B366 #66C7B3
tetradic
#B366C7 #C78366 #7AC766 #66ABC7
square
#B366C7 #C78366 #7AC766 #66ABC7
split-complementary
#B366C7 #ABC766 #66C783
monochromatic
#723083 #9940B0 #B366C7 #C993D7 #E0C0E8

Accessibility & contrast

On white

3.72
#B366C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#B366C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366C7
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366C7#FFFFFF#000000##000000
##B366C71.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#557FCA
Deuteranopia (green-blind)
#6C87C4
Tritanopia (blue-blind)
#B4738D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b366c7;
/* rgb */ color: rgb(179, 102, 199);
/* oklch */ color: oklch(63.4% 0.161 319.1);
Tailwind
colors: {
  custom: {
    50: '#cc94d8',
    500: '#b366c7',
    950: '#000000',
  },
}
SCSS
$custom: #b366c7;
$custom-light: #cc94d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b366c7",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 199
  },
  "hsl": {
    "h": 287.629,
    "s": 46.411,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63379,
    "c": 0.16074,
    "h": 319.1
  },
  "luminance": 0.2321
}

Semantic roles & 50–950 ramp

primary
#B366C7
secondary
#B9D7B1
accent
#D6526D
background
#FCF9FD
surface
#F9F2FA
border
#D2CCD3
text
#140D14
muted
#827E83

Preview Lab

Preview with #B366C7

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

Preview Lab → · Contrast checker → · Palette generator →

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