#B366BF#B366BF

#B366BF is a light, vivid purple. Relative luminance 0.228; OKLCH L 63.0% C 0.152 H 322.1°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#B366BF
RGBrgb(179, 102, 191)
HSLhsl(292, 41%, 57%)
HSVhsv(292, 47%, 75%)
CMYKcmyk(6.3%, 46.6%, 0%, 25.1%)
CIE-LABlab(54.92, 44.84, -34.03)
CIE-LCHlch(54.92, 56.29, 322.81°)
OKLaboklab(62.98% 0.1202 -0.0938)
OKLCHoklch(62.98% 0.152 322.1)
XYZxyz(32.7447, 22.8494, 51.9657)
Luminance0.2285 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366BF #72BF66
analogous
#8666BF #B366BF #BF669F
triadic
#B366BF #BFB366 #66BFB3
tetradic
#B366BF #BF8666 #72BF66 #669FBF
square
#B366BF #BF8666 #72BF66 #669FBF
split-complementary
#B366BF #9FBF66 #66BF86
monochromatic
#6F3278 #9744A3 #B366BF #C891D1 #DEBCE3

Accessibility & contrast

On white

3.77
#B366BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#B366BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366BF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366BF#FFFFFF#000000##000000
##B366BF1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7EC2
Deuteranopia (green-blind)
#7086BC
Tritanopia (blue-blind)
#B5718A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b366bf;
/* rgb */ color: rgb(179, 102, 191);
/* oklch */ color: oklch(63.0% 0.152 322.1);
Tailwind
colors: {
  custom: {
    50: '#cb94d2',
    500: '#b366bf',
    950: '#000000',
  },
}
SCSS
$custom: #b366bf;
$custom-light: #cb94d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b366bf",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 191
  },
  "hsl": {
    "h": 291.91,
    "s": 41.014,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62981,
    "c": 0.15247,
    "h": 322.1
  },
  "luminance": 0.22848
}

Semantic roles & 50–950 ramp

primary
#B366BF
secondary
#B3D2AE
accent
#D15767
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #B366BF

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

Preview Lab → · Contrast checker → · Palette generator →

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