#B04BCF#B04BCF

#B04BCF is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 59.9% C 0.208 H 317.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B04BCF
RGBrgb(176, 75, 207)
HSLhsl(286, 58%, 55%)
HSVhsv(286, 64%, 81%)
CMYKcmyk(15%, 63.8%, 0%, 18.8%)
CIE-LABlab(50.42, 60.40, -50.34)
CIE-LCHlch(50.42, 78.63, 320.19°)
OKLaboklab(59.86% 0.1533 -0.141)
OKLCHoklch(59.86% 0.208 317.4)
XYZxyz(31.6814, 18.7685, 60.9732)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04BCF #6ACF4B
analogous
#6E4BCF #B04BCF #CF4BAC
triadic
#B04BCF #CFB04B #4BCFB0
tetradic
#B04BCF #CF6E4B #6ACF4B #4BACCF
square
#B04BCF #CF6E4B #6ACF4B #4BACCF
split-complementary
#B04BCF #ACCF4B #4BCF6E
monochromatic
#68227E #902EAE #B04BCF #C57BDC #DAACE9

Accessibility & contrast

On white

4.42
#B04BCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#B04BCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04BCF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04BCF#FFFFFF#000000##000000
##B04BCF1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D72D3
Deuteranopia (green-blind)
#4F7BCC
Tritanopia (blue-blind)
#AF6386
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b04bcf;
/* rgb */ color: rgb(176, 75, 207);
/* oklch */ color: oklch(59.9% 0.208 317.4);
Tailwind
colors: {
  custom: {
    50: '#cb84de',
    500: '#b04bcf',
    950: '#000000',
  },
}
SCSS
$custom: #b04bcf;
$custom-light: #cb84de;
$custom-dark: #000000;
JSON
{
  "hex": "#b04bcf",
  "rgb": {
    "r": 176,
    "g": 75,
    "b": 207
  },
  "hsl": {
    "h": 285.909,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59863,
    "c": 0.20826,
    "h": 317.4
  },
  "luminance": 0.18767
}

Semantic roles & 50–950 ramp

primary
#B04BCF
secondary
#ACD69F
accent
#E1476B
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B04BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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