#B306FF#B306FF

#B306FF is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 59.4% C 0.299 H 309.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B306FF
RGBrgb(179, 6, 255)
HSLhsl(282, 100%, 51%)
HSVhsv(282, 98%, 100%)
CMYKcmyk(29.8%, 97.6%, 0%, 0%)
CIE-LABlab(48.18, 87.47, -81.08)
CIE-LCHlch(48.18, 119.27, 317.17°)
OKLaboklab(59.42% 0.1905 -0.2307)
OKLCHoklch(59.42% 0.299 309.5)
XYZxyz(36.7018, 16.9347, 95.9237)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B306FF #52FF06
analogous
#3606FF #B306FF #FF06CE
triadic
#B306FF #FFB306 #06FFB3
tetradic
#B306FF #FF3606 #52FF06 #06CEFF
square
#B306FF #FF3606 #52FF06 #06CEFF
split-complementary
#B306FF #CEFF06 #06FF36
monochromatic
#60008B #8B00C8 #B306FF #C643FF #D880FF

Accessibility & contrast

On white

4.79
#B306FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#B306FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B306FF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B306FF#FFFFFF#000000##FFFFFF
##B306FF1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DFF
Deuteranopia (green-blind)
#0074FB
Tritanopia (blue-blind)
#A75F97
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b306ff;
/* rgb */ color: rgb(179, 6, 255);
/* oklch */ color: oklch(59.4% 0.299 309.5);
Tailwind
colors: {
  custom: {
    50: '#d170ff',
    500: '#b306ff',
    950: '#000000',
  },
}
SCSS
$custom: #b306ff;
$custom-light: #d170ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b306ff",
  "rgb": {
    "r": 179,
    "g": 6,
    "b": 255
  },
  "hsl": {
    "h": 281.687,
    "s": 100,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59421,
    "c": 0.29924,
    "h": 309.5
  },
  "luminance": 0.16934
}

Semantic roles & 50–950 ramp

primary
#B306FF
secondary
#9BE779
accent
#FF296A
background
#FDF7FF
surface
#FBEDFF
border
#D4C8D7
text
#150918
muted
#837B86

Preview Lab

Preview with #B306FF

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

Preview Lab → · Contrast checker → · Palette generator →

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