#B336FF#B336FF

#B336FF is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 61.5% C 0.275 H 308.2°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#B336FF
RGBrgb(179, 54, 255)
HSLhsl(277, 100%, 61%)
HSVhsv(277, 79%, 100%)
CMYKcmyk(29.8%, 78.8%, 0%, 0%)
CIE-LABlab(51.20, 78.54, -76.14)
CIE-LCHlch(51.20, 109.39, 315.89°)
OKLaboklab(61.51% 0.1702 -0.2165)
OKLCHoklch(61.51% 0.275 308.2)
XYZxyz(37.9558, 19.4426, 96.3416)
Luminance0.1944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B336FF #82FF36
analogous
#4E36FF #B336FF #FF36E7
triadic
#B336FF #FFB336 #36FFB3
tetradic
#B336FF #FF4E36 #82FF36 #36E7FF
square
#B336FF #FF4E36 #82FF36 #36E7FF
split-complementary
#B336FF #E7FF36 #36FF4E
monochromatic
#7400BB #9A00F8 #B336FF #CA73FF #E1B0FF

Accessibility & contrast

On white

4.30
#B336FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#B336FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B336FF
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B336FF#FFFFFF#000000##000000
##B336FF1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b336ff;
/* rgb */ color: rgb(179, 54, 255);
/* oklch */ color: oklch(61.5% 0.275 308.2);
Tailwind
colors: {
  custom: {
    50: '#d07cff',
    500: '#b336ff',
    950: '#000000',
  },
}
SCSS
$custom: #b336ff;
$custom-light: #d07cff;
$custom-dark: #000000;
JSON
{
  "hex": "#b336ff",
  "rgb": {
    "r": 179,
    "g": 54,
    "b": 255
  },
  "hsl": {
    "h": 277.313,
    "s": 100,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61508,
    "c": 0.2754,
    "h": 308.2
  },
  "luminance": 0.19442
}

Semantic roles & 50–950 ramp

primary
#B336FF
secondary
#BFEFA2
accent
#E60057
background
#FDF8FF
surface
#FBEFFF
border
#D4CAD7
text
#150B18
muted
#837C86

Preview Lab

Preview with #B336FF

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

Preview Lab → · Contrast checker → · Palette generator →

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