#B165AC#B165AC

#B165AC is a mid, vivid purple. Relative luminance 0.216; OKLCH L 61.7% C 0.134 H 329.5°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#B165AC
RGBrgb(177, 101, 172)
HSLhsl(304, 33%, 55%)
HSVhsv(304, 43%, 69%)
CMYKcmyk(0%, 42.9%, 2.8%, 30.6%)
CIE-LABlab(53.64, 41.14, -25.07)
CIE-LCHlch(53.64, 48.18, 328.65°)
OKLaboklab(61.7% 0.1156 -0.0682)
OKLCHoklch(61.7% 0.134 329.5)
XYZxyz(30.2311, 21.6346, 41.6052)
Luminance0.2163 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B165AC #65B16A
analogous
#9065B1 #B165AC #B16586
triadic
#B165AC #ACB165 #65ACB1
tetradic
#B165AC #B19065 #65B16A #6586B1
square
#B165AC #B19065 #65B16A #6586B1
split-complementary
#B165AC #86B165 #65B190
monochromatic
#673464 #90498B #B165AC #C68EC2 #DAB6D8

Accessibility & contrast

On white

3.94
#B165AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#B165AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B165AC
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B165AC#FFFFFF#000000##000000
##B165AC1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#617AAF
Deuteranopia (green-blind)
#7584AA
Tritanopia (blue-blind)
#B66B80
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b165ac;
/* rgb */ color: rgb(177, 101, 172);
/* oklch */ color: oklch(61.7% 0.134 329.5);
Tailwind
colors: {
  custom: {
    50: '#ca93c5',
    500: '#b165ac',
    950: '#000000',
  },
}
SCSS
$custom: #b165ac;
$custom-light: #ca93c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b165ac",
  "rgb": {
    "r": 177,
    "g": 101,
    "b": 172
  },
  "hsl": {
    "h": 303.947,
    "s": 32.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61702,
    "c": 0.13425,
    "h": 329.5
  },
  "luminance": 0.21633
}

Semantic roles & 50–950 ramp

primary
#B165AC
secondary
#A9C9AB
accent
#C9665F
background
#FCF9FC
surface
#F9F1F8
border
#D2CBD1
text
#130D12
muted
#827E81

Preview Lab

Preview with #B165AC

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

Preview Lab → · Contrast checker → · Palette generator →

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