#B339FC#B339FC

#B339FC is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 61.5% C 0.270 H 308.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#B339FC
RGBrgb(179, 57, 252)
HSLhsl(278, 97%, 61%)
HSVhsv(278, 77%, 99%)
CMYKcmyk(29%, 77.4%, 0%, 1.2%)
CIE-LABlab(51.31, 76.98, -74.29)
CIE-LCHlch(51.31, 106.98, 316.02°)
OKLaboklab(61.52% 0.1687 -0.2111)
OKLCHoklch(61.52% 0.27 308.6)
XYZxyz(37.6206, 19.5389, 93.8661)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B339FC #82FC39
analogous
#5139FC #B339FC #FC39E4
triadic
#B339FC #FCB339 #39FCB3
tetradic
#B339FC #FC5139 #82FC39 #39E4FC
square
#B339FC #FC5139 #82FC39 #39E4FC
split-complementary
#B339FC #E4FC39 #39FC51
monochromatic
#7403B8 #9A04F4 #B339FC #CA75FD #E1B2FE

Accessibility & contrast

On white

4.28
#B339FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#B339FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B339FC
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B339FC#FFFFFF#000000##000000
##B339FC1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076FF
Deuteranopia (green-blind)
#007CF8
Tritanopia (blue-blind)
#A76B9B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b339fc;
/* rgb */ color: rgb(179, 57, 252);
/* oklch */ color: oklch(61.5% 0.270 308.6);
Tailwind
colors: {
  custom: {
    50: '#d07dfe',
    500: '#b339fc',
    950: '#000000',
  },
}
SCSS
$custom: #b339fc;
$custom-light: #d07dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#b339fc",
  "rgb": {
    "r": 179,
    "g": 57,
    "b": 252
  },
  "hsl": {
    "h": 277.538,
    "s": 97.015,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61517,
    "c": 0.2702,
    "h": 308.6
  },
  "luminance": 0.19538
}

Semantic roles & 50–950 ramp

primary
#B339FC
secondary
#BFEDA3
accent
#E60056
background
#FDF8FF
surface
#FAEFFF
border
#D3CAD7
text
#150B18
muted
#837C86

Preview Lab

Preview with #B339FC

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

Preview Lab → · Contrast checker → · Palette generator →

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