#B04ECF#B04ECF

#B04ECF is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.2% C 0.204 H 317.2°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B04ECF
RGBrgb(176, 78, 207)
HSLhsl(286, 57%, 56%)
HSVhsv(286, 62%, 81%)
CMYKcmyk(15%, 62.3%, 0%, 18.8%)
CIE-LABlab(50.90, 59.06, -49.56)
CIE-LCHlch(50.90, 77.10, 320.00°)
OKLaboklab(60.22% 0.1498 -0.1387)
OKLCHoklch(60.22% 0.204 317.2)
XYZxyz(31.8897, 19.1851, 61.0427)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04ECF #6DCF4E
analogous
#6F4ECF #B04ECF #CF4EAE
triadic
#B04ECF #CFB04E #4ECFB0
tetradic
#B04ECF #CF6F4E #6DCF4E #4EAECF
square
#B04ECF #CF6F4E #6DCF4E #4EAECF
split-complementary
#B04ECF #AECF4E #4ECF6F
monochromatic
#6A2380 #9130B0 #B04ECF #C57EDC #DBAEE9

Accessibility & contrast

On white

4.34
#B04ECF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#B04ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04ECF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04ECF#FFFFFF#000000##000000
##B04ECF1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2573D3
Deuteranopia (green-blind)
#517CCC
Tritanopia (blue-blind)
#AF6588
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b04ecf;
/* rgb */ color: rgb(176, 78, 207);
/* oklch */ color: oklch(60.2% 0.204 317.2);
Tailwind
colors: {
  custom: {
    50: '#cb85de',
    500: '#b04ecf',
    950: '#000000',
  },
}
SCSS
$custom: #b04ecf;
$custom-light: #cb85de;
$custom-dark: #000000;
JSON
{
  "hex": "#b04ecf",
  "rgb": {
    "r": 176,
    "g": 78,
    "b": 207
  },
  "hsl": {
    "h": 285.581,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60216,
    "c": 0.20415,
    "h": 317.2
  },
  "luminance": 0.19184
}

Semantic roles & 50–950 ramp

primary
#B04ECF
secondary
#AFD7A2
accent
#E1476C
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B04ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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