#B04FCF#B04FCF

#B04FCF is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.3% C 0.203 H 317.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B04FCF
RGBrgb(176, 79, 207)
HSLhsl(285, 57%, 56%)
HSVhsv(285, 62%, 81%)
CMYKcmyk(15%, 61.8%, 0%, 18.8%)
CIE-LABlab(51.07, 58.60, -49.30)
CIE-LCHlch(51.07, 76.58, 319.93°)
OKLaboklab(60.34% 0.1486 -0.138)
OKLCHoklch(60.34% 0.203 317.1)
XYZxyz(31.9613, 19.3283, 61.0665)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04FCF #6ECF4F
analogous
#704FCF #B04FCF #CF4FAE
triadic
#B04FCF #CFB04F #4FCFB0
tetradic
#B04FCF #CF704F #6ECF4F #4FAECF
square
#B04FCF #CF704F #6ECF4F #4FAECF
split-complementary
#B04FCF #AECF4F #4FCF70
monochromatic
#6A2381 #9230B1 #B04FCF #C67FDC #DBAFE9

Accessibility & contrast

On white

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

On black

4.87
#B04FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04FCF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04FCF#FFFFFF#000000##000000
##B04FCF1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2774D3
Deuteranopia (green-blind)
#527DCC
Tritanopia (blue-blind)
#AF6588
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b04fcf;
/* rgb */ color: rgb(176, 79, 207);
/* oklch */ color: oklch(60.3% 0.203 317.1);
Tailwind
colors: {
  custom: {
    50: '#cb86de',
    500: '#b04fcf',
    950: '#000000',
  },
}
SCSS
$custom: #b04fcf;
$custom-light: #cb86de;
$custom-dark: #000000;
JSON
{
  "hex": "#b04fcf",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 207
  },
  "hsl": {
    "h": 285.469,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60336,
    "c": 0.20275,
    "h": 317.1
  },
  "luminance": 0.19327
}

Semantic roles & 50–950 ramp

primary
#B04FCF
secondary
#AFD7A2
accent
#E0476C
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B04FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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