#B04FCA#B04FCA

#B04FCA is a mid, vivid purple. Relative luminance 0.191; OKLCH L 60.0% C 0.198 H 318.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#B04FCA
RGBrgb(176, 79, 202)
HSLhsl(287, 54%, 55%)
HSVhsv(287, 61%, 79%)
CMYKcmyk(12.9%, 60.9%, 0%, 20.8%)
CIE-LABlab(50.79, 57.61, -46.88)
CIE-LCHlch(50.79, 74.27, 320.87°)
OKLaboklab(60.04% 0.1485 -0.1309)
OKLCHoklch(60.04% 0.198 318.6)
XYZxyz(31.3597, 19.0877, 57.8981)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04FCA #69CA4F
analogous
#724FCA #B04FCA #CA4FA7
triadic
#B04FCA #CAB04F #4FCAB0
tetradic
#B04FCA #CA724F #69CA4F #4FA7CA
square
#B04FCA #CA724F #69CA4F #4FA7CA
split-complementary
#B04FCA #A7CA4F #4FCA72
monochromatic
#68257A #9033A9 #B04FCA #C57ED8 #DAADE6

Accessibility & contrast

On white

4.36
#B04FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#B04FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B04FCA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04FCA#FFFFFF#000000##000000
##B04FCA1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E72CE
Deuteranopia (green-blind)
#567CC7
Tritanopia (blue-blind)
#B06385
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b04fca;
/* rgb */ color: rgb(176, 79, 202);
/* oklch */ color: oklch(60.0% 0.198 318.6);
Tailwind
colors: {
  custom: {
    50: '#cb86db',
    500: '#b04fca',
    950: '#000000',
  },
}
SCSS
$custom: #b04fca;
$custom-light: #cb86db;
$custom-dark: #000000;
JSON
{
  "hex": "#b04fca",
  "rgb": {
    "r": 176,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 287.317,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60043,
    "c": 0.19796,
    "h": 318.6
  },
  "luminance": 0.19086
}

Semantic roles & 50–950 ramp

primary
#B04FCA
secondary
#ACD4A1
accent
#DD4B6A
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B04FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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