#B04CE1#B04CE1

#B04CE1 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.1% C 0.224 H 312.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#B04CE1
RGBrgb(176, 76, 225)
HSLhsl(280, 71%, 59%)
HSVhsv(280, 66%, 88%)
CMYKcmyk(21.8%, 66.2%, 0%, 11.8%)
CIE-LABlab(51.65, 63.60, -58.61)
CIE-LCHlch(51.65, 86.49, 317.34°)
OKLaboklab(61.1% 0.1514 -0.1652)
OKLCHoklch(61.1% 0.224 312.5)
XYZxyz(34.0771, 19.8362, 73.2532)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04CE1 #7DE14C
analogous
#664CE1 #B04CE1 #E14CC8
triadic
#B04CE1 #E1B04C #4CE1B0
tetradic
#B04CE1 #E1664C #7DE14C #4CC8E1
square
#B04CE1 #E1664C #7DE14C #4CC8E1
split-complementary
#B04CE1 #C8E14C #4CE166
monochromatic
#6F1A99 #9522CD #B04CE1 #C780EA #DEB5F3

Accessibility & contrast

On white

4.23
#B04CE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#B04CE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04CE1
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04CE1#FFFFFF#000000##000000
##B04CE11.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E5
Deuteranopia (green-blind)
#3F7DDE
Tritanopia (blue-blind)
#AB6A90
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b04ce1;
/* rgb */ color: rgb(176, 76, 225);
/* oklch */ color: oklch(61.1% 0.224 312.5);
Tailwind
colors: {
  custom: {
    50: '#cc85eb',
    500: '#b04ce1',
    950: '#000000',
  },
}
SCSS
$custom: #b04ce1;
$custom-light: #cc85eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b04ce1",
  "rgb": {
    "r": 176,
    "g": 76,
    "b": 225
  },
  "hsl": {
    "h": 280.268,
    "s": 71.292,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61099,
    "c": 0.22409,
    "h": 312.5
  },
  "luminance": 0.19835
}

Semantic roles & 50–950 ramp

primary
#B04CE1
secondary
#BAE2A7
accent
#EE3A75
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #B04CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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