#B339E2#B339E2

#B339E2 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.7% C 0.248 H 314.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#B339E2
RGBrgb(179, 57, 226)
HSLhsl(283, 74%, 55%)
HSVhsv(283, 75%, 89%)
CMYKcmyk(20.8%, 74.8%, 0%, 11.4%)
CIE-LABlab(49.50, 71.84, -62.62)
CIE-LCHlch(49.50, 95.30, 318.92°)
OKLaboklab(59.67% 0.1735 -0.1768)
OKLCHoklch(59.67% 0.248 314.5)
XYZxyz(33.7787, 18.0021, 73.6322)
Luminance0.1800 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B339E2 #68E239
analogous
#5F39E2 #B339E2 #E239BC
triadic
#B339E2 #E2B339 #39E2B3
tetradic
#B339E2 #E25F39 #68E239 #39BCE2
square
#B339E2 #E25F39 #68E239 #39BCE2
split-complementary
#B339E2 #BCE239 #39E25F
monochromatic
#6B158C #941CC1 #B339E2 #C76EEA #DCA4F2

Accessibility & contrast

On white

4.57
#B339E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#B339E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B339E2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B339E2#FFFFFF#000000##000000
##B339E21.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#006FE7
Deuteranopia (green-blind)
#2E79DE
Tritanopia (blue-blind)
#AF5F8C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b339e2;
/* rgb */ color: rgb(179, 57, 226);
/* oklch */ color: oklch(59.7% 0.248 314.5);
Tailwind
colors: {
  custom: {
    50: '#cf7cec',
    500: '#b339e2',
    950: '#000000',
  },
}
SCSS
$custom: #b339e2;
$custom-light: #cf7cec;
$custom-dark: #000000;
JSON
{
  "hex": "#b339e2",
  "rgb": {
    "r": 179,
    "g": 57,
    "b": 226
  },
  "hsl": {
    "h": 283.314,
    "s": 74.449,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59672,
    "c": 0.24771,
    "h": 314.5
  },
  "luminance": 0.18001
}

Semantic roles & 50–950 ramp

primary
#B339E2
secondary
#ACDF98
accent
#F1376B
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140A16
muted
#837C84

Preview Lab

Preview with #B339E2

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

Preview Lab → · Contrast checker → · Palette generator →

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