#B04CE5#B04CE5

#B04CE5 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.4% C 0.228 H 311.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#B04CE5
RGBrgb(176, 76, 229)
HSLhsl(279, 75%, 60%)
HSVhsv(279, 67%, 90%)
CMYKcmyk(23.1%, 66.8%, 0%, 10.2%)
CIE-LABlab(51.90, 64.43, -60.46)
CIE-LCHlch(51.90, 88.36, 316.82°)
OKLaboklab(61.36% 0.1511 -0.1707)
OKLCHoklch(61.36% 0.228 311.5)
XYZxyz(34.6292, 20.0570, 76.1607)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04CE5 #81E54C
analogous
#644CE5 #B04CE5 #E54CCD
triadic
#B04CE5 #E5B04C #4CE5B0
tetradic
#B04CE5 #E5644C #81E54C #4CCDE5
square
#B04CE5 #E5644C #81E54C #4CCDE5
split-complementary
#B04CE5 #CDE54C #4CE564
monochromatic
#70179F #961FD5 #B04CE5 #C881ED #DFB7F5

Accessibility & contrast

On white

4.19
#B04CE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#B04CE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04CE5
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04CE5#FFFFFF#000000##000000
##B04CE51.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EA
Deuteranopia (green-blind)
#3B7EE2
Tritanopia (blue-blind)
#AA6C93
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b04ce5;
/* rgb */ color: rgb(176, 76, 229);
/* oklch */ color: oklch(61.4% 0.228 311.5);
Tailwind
colors: {
  custom: {
    50: '#cc85ee',
    500: '#b04ce5',
    950: '#000000',
  },
}
SCSS
$custom: #b04ce5;
$custom-light: #cc85ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b04ce5",
  "rgb": {
    "r": 176,
    "g": 76,
    "b": 229
  },
  "hsl": {
    "h": 279.216,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61358,
    "c": 0.22794,
    "h": 311.5
  },
  "luminance": 0.20056
}

Semantic roles & 50–950 ramp

primary
#B04CE5
secondary
#BDE4A9
accent
#F13777
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B04CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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