#B04CE3#B04CE3

#B04CE3 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 61.2% C 0.226 H 312.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#B04CE3
RGBrgb(176, 76, 227)
HSLhsl(280, 73%, 59%)
HSVhsv(280, 67%, 89%)
CMYKcmyk(22.5%, 66.5%, 0%, 11%)
CIE-LABlab(51.78, 64.02, -59.54)
CIE-LCHlch(51.78, 87.42, 317.08°)
OKLaboklab(61.23% 0.1513 -0.1679)
OKLCHoklch(61.23% 0.226 312)
XYZxyz(34.3515, 19.9459, 74.6985)
Luminance0.1994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04CE3 #7FE34C
analogous
#654CE3 #B04CE3 #E34CCB
triadic
#B04CE3 #E3B04C #4CE3B0
tetradic
#B04CE3 #E3654C #7FE34C #4CCBE3
square
#B04CE3 #E3654C #7FE34C #4CCBE3
split-complementary
#B04CE3 #CBE34C #4CE365
monochromatic
#70189C #9621D1 #B04CE3 #C781EB #DFB6F4

Accessibility & contrast

On white

4.21
#B04CE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#B04CE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04CE3
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04CE3#FFFFFF#000000##000000
##B04CE31.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E7
Deuteranopia (green-blind)
#3D7DE0
Tritanopia (blue-blind)
#AA6B92
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b04ce3;
/* rgb */ color: rgb(176, 76, 227);
/* oklch */ color: oklch(61.2% 0.226 312.0);
Tailwind
colors: {
  custom: {
    50: '#cc85ed',
    500: '#b04ce3',
    950: '#000000',
  },
}
SCSS
$custom: #b04ce3;
$custom-light: #cc85ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b04ce3",
  "rgb": {
    "r": 176,
    "g": 76,
    "b": 227
  },
  "hsl": {
    "h": 279.735,
    "s": 72.947,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61228,
    "c": 0.22602,
    "h": 312
  },
  "luminance": 0.19945
}

Semantic roles & 50–950 ramp

primary
#B04CE3
secondary
#BCE3A8
accent
#F03876
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B04CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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