#B04CD7#B04CD7

#B04CD7 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.5% C 0.215 H 315.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#B04CD7
RGBrgb(176, 76, 215)
HSLhsl(283, 63%, 57%)
HSVhsv(283, 65%, 84%)
CMYKcmyk(18.1%, 64.7%, 0%, 15.7%)
CIE-LABlab(51.04, 61.56, -53.91)
CIE-LCHlch(51.04, 81.83, 318.79°)
OKLaboklab(60.47% 0.1519 -0.1514)
OKLCHoklch(60.47% 0.215 315.1)
XYZxyz(32.7527, 19.3064, 66.2780)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04CD7 #73D74C
analogous
#6A4CD7 #B04CD7 #D74CB9
triadic
#B04CD7 #D7B04C #4CD7B0
tetradic
#B04CD7 #D76A4C #73D74C #4CB9D7
square
#B04CD7 #D76A4C #73D74C #4CB9D7
split-complementary
#B04CD7 #B9D74C #4CD76A
monochromatic
#6C1F8A #932ABC #B04CD7 #C67EE2 #DCB0ED

Accessibility & contrast

On white

4.32
#B04CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#B04CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04CD7
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04CD7#FFFFFF#000000##000000
##B04CD71.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A74DB
Deuteranopia (green-blind)
#497CD4
Tritanopia (blue-blind)
#AD668B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b04cd7;
/* rgb */ color: rgb(176, 76, 215);
/* oklch */ color: oklch(60.5% 0.215 315.1);
Tailwind
colors: {
  custom: {
    50: '#cb85e4',
    500: '#b04cd7',
    950: '#000000',
  },
}
SCSS
$custom: #b04cd7;
$custom-light: #cb85e4;
$custom-dark: #000000;
JSON
{
  "hex": "#b04cd7",
  "rgb": {
    "r": 176,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 283.165,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60467,
    "c": 0.21451,
    "h": 315.1
  },
  "luminance": 0.19305
}

Semantic roles & 50–950 ramp

primary
#B04CD7
secondary
#B3DCA3
accent
#E64170
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #B04CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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