#B301CE#B301CE

#B301CE is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 55.6% C 0.265 H 320.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#B301CE
RGBrgb(179, 1, 206)
HSLhsl(292, 99%, 41%)
HSVhsv(292, 100%, 81%)
CMYKcmyk(13.1%, 99.5%, 0%, 19.2%)
CIE-LABlab(44.32, 79.43, -59.53)
CIE-LCHlch(44.32, 99.26, 323.15°)
OKLaboklab(55.62% 0.2058 -0.1674)
OKLCHoklch(55.62% 0.265 320.9)
XYZxyz(29.7405, 14.0634, 59.5286)
Luminance0.1406 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B301CE #1CCE01
analogous
#4D01CE #B301CE #CE0182
triadic
#B301CE #CEB301 #01CEB3
tetradic
#B301CE #CE4D01 #1CCE01 #0182CE
square
#B301CE #CE4D01 #1CCE01 #0182CE
split-complementary
#B301CE #82CE01 #01CE4D
monochromatic
#490054 #7E0191 #B301CE #DE0EFE #E74BFE

Accessibility & contrast

On white

5.51
#B301CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#B301CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B301CE
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B301CE#FFFFFF#000000##FFFFFF
##B301CE1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED2
Deuteranopia (green-blind)
#2C6ECA
Tritanopia (blue-blind)
#B44379
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b301ce;
/* rgb */ color: rgb(179, 1, 206);
/* oklch */ color: oklch(55.6% 0.265 320.9);
Tailwind
colors: {
  custom: {
    50: '#cf6cde',
    500: '#b301ce',
    950: '#000000',
  },
}
SCSS
$custom: #b301ce;
$custom-light: #cf6cde;
$custom-dark: #000000;
JSON
{
  "hex": "#b301ce",
  "rgb": {
    "r": 179,
    "g": 1,
    "b": 206
  },
  "hsl": {
    "h": 292.098,
    "s": 99.034,
    "l": 40.588
  },
  "oklch": {
    "l": 0.55618,
    "c": 0.2653,
    "h": 320.9
  },
  "luminance": 0.14062
}

Semantic roles & 50–950 ramp

primary
#B301CE
secondary
#5FDF4C
accent
#FF2945
background
#FDF7FD
surface
#FAEDFB
border
#D3C8D4
text
#150815
muted
#837B83

Preview Lab

Preview with #B301CE

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

Preview Lab → · Contrast checker → · Palette generator →

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