#B874CD#B874CD

#B874CD is a light, vivid purple. Relative luminance 0.271; OKLCH L 66.4% C 0.146 H 317.9°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#B874CD
RGBrgb(184, 116, 205)
HSLhsl(286, 47%, 63%)
HSVhsv(286, 43%, 80%)
CMYKcmyk(10.2%, 43.4%, 0%, 19.6%)
CIE-LABlab(59.06, 41.66, -35.49)
CIE-LCHlch(59.06, 54.72, 319.57°)
OKLaboklab(66.41% 0.1084 -0.0979)
OKLCHoklch(66.41% 0.146 317.9)
XYZxyz(37.0305, 27.0900, 61.0240)
Luminance0.2709 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B874CD #89CD74
analogous
#8B74CD #B874CD #CD74B5
triadic
#B874CD #CDB874 #74CDB8
tetradic
#B874CD #CD8B74 #89CD74 #74B5CD
square
#B874CD #CD8B74 #89CD74 #74B5CD
split-complementary
#B874CD #B5CD74 #74CD8B
monochromatic
#7C3592 #A147BD #B874CD #CFA1DD #E6CEED

Accessibility & contrast

On white

3.27
#B874CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#B874CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B874CD
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B874CD#FFFFFF#000000##000000
##B874CD1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#668AD0
Deuteranopia (green-blind)
#7890CA
Tritanopia (blue-blind)
#B88097
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b874cd;
/* rgb */ color: rgb(184, 116, 205);
/* oklch */ color: oklch(66.4% 0.146 317.9);
Tailwind
colors: {
  custom: {
    50: '#cf9ddc',
    500: '#b874cd',
    950: '#000000',
  },
}
SCSS
$custom: #b874cd;
$custom-light: #cf9ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#b874cd",
  "rgb": {
    "r": 184,
    "g": 116,
    "b": 205
  },
  "hsl": {
    "h": 285.843,
    "s": 47.09,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66406,
    "c": 0.14611,
    "h": 317.9
  },
  "luminance": 0.27089
}

Semantic roles & 50–950 ramp

primary
#B874CD
secondary
#C6DEBE
accent
#BA2B4D
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140E15
muted
#827E83

Preview Lab

Preview with #B874CD

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

Preview Lab → · Contrast checker → · Palette generator →

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