#B339C3#B339C3

#B339C3 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.7% C 0.221 H 322.8°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#B339C3
RGBrgb(179, 57, 195)
HSLhsl(293, 55%, 49%)
HSVhsv(293, 71%, 76%)
CMYKcmyk(8.2%, 70.8%, 0%, 23.5%)
CIE-LABlab(47.56, 66.09, -47.95)
CIE-LCHlch(47.56, 81.66, 324.04°)
OKLaboklab(57.68% 0.1765 -0.1338)
OKLCHoklch(57.68% 0.221 322.8)
XYZxyz(29.9029, 16.4518, 53.2196)
Luminance0.1645 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B339C3 #49C339
analogous
#6E39C3 #B339C3 #C3398E
triadic
#B339C3 #C3B339 #39C3B3
tetradic
#B339C3 #C36E39 #49C339 #398EC3
square
#B339C3 #C36E39 #49C339 #398EC3
split-complementary
#B339C3 #8EC339 #39C36E
monochromatic
#5C1D64 #882B94 #B339C3 #C667D2 #D896E0

Accessibility & contrast

On white

4.90
#B339C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#B339C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B339C3
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B339C3#FFFFFF#000000##FFFFFF
##B339C31.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C7
Deuteranopia (green-blind)
#4E76C0
Tritanopia (blue-blind)
#B6517A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b339c3;
/* rgb */ color: rgb(179, 57, 195);
/* oklch */ color: oklch(57.7% 0.221 322.8);
Tailwind
colors: {
  custom: {
    50: '#cd7bd6',
    500: '#b339c3',
    950: '#000000',
  },
}
SCSS
$custom: #b339c3;
$custom-light: #cd7bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#b339c3",
  "rgb": {
    "r": 179,
    "g": 57,
    "b": 195
  },
  "hsl": {
    "h": 293.043,
    "s": 54.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57677,
    "c": 0.22148,
    "h": 322.8
  },
  "luminance": 0.1645
}

Semantic roles & 50–950 ramp

primary
#B339C3
secondary
#93CC8C
accent
#DE4A5B
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B339C3

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

Preview Lab → · Contrast checker → · Palette generator →

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