#B339A5#B339A5

#B339A5 is a mid, vivid purple. Relative luminance 0.152; OKLCH L 56.0% C 0.198 H 332.8°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B339A5
RGBrgb(179, 57, 165)
HSLhsl(307, 52%, 46%)
HSVhsv(307, 68%, 70%)
CMYKcmyk(0%, 68.2%, 7.8%, 29.8%)
CIE-LABlab(45.95, 61.05, -32.91)
CIE-LCHlch(45.95, 69.35, 331.67°)
OKLaboklab(55.99% 0.1758 -0.0902)
OKLCHoklch(55.99% 0.198 332.8)
XYZxyz(26.8452, 15.2287, 37.1156)
Luminance0.1523 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B339A5 #39B347
analogous
#8439B3 #B339A5 #B33968
triadic
#B339A5 #A5B339 #39A5B3
tetradic
#B339A5 #B38439 #39B347 #3968B3
square
#B339A5 #B38439 #39B347 #3968B3
split-complementary
#B339A5 #68B339 #39B384
monochromatic
#561B4F #852A7A #B339A5 #CC5EBF #DA8CD1

Accessibility & contrast

On white

5.19
#B339A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#B339A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B339A5
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B339A5#FFFFFF#000000##FFFFFF
##B339A51.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3462A8
Deuteranopia (green-blind)
#5F73A2
Tritanopia (blue-blind)
#BB446A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b339a5;
/* rgb */ color: rgb(179, 57, 165);
/* oklch */ color: oklch(56.0% 0.198 332.8);
Tailwind
colors: {
  custom: {
    50: '#cd79c0',
    500: '#b339a5',
    950: '#000000',
  },
}
SCSS
$custom: #b339a5;
$custom-light: #cd79c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b339a5",
  "rgb": {
    "r": 179,
    "g": 57,
    "b": 165
  },
  "hsl": {
    "h": 306.885,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55993,
    "c": 0.19755,
    "h": 332.8
  },
  "luminance": 0.15227
}

Semantic roles & 50–950 ramp

primary
#B339A5
secondary
#83C58B
accent
#DB5D4D
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B339A5

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

Preview Lab → · Contrast checker → · Palette generator →

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