#B845D5#B845D5

#B845D5 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.6% C 0.225 H 318.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B845D5
RGBrgb(184, 69, 213)
HSLhsl(288, 63%, 55%)
HSVhsv(288, 68%, 84%)
CMYKcmyk(13.6%, 67.6%, 0%, 16.5%)
CIE-LABlab(50.98, 65.89, -52.80)
CIE-LCHlch(50.98, 84.44, 321.29°)
OKLaboklab(60.61% 0.1693 -0.1479)
OKLCHoklch(60.61% 0.225 318.8)
XYZxyz(33.9039, 19.2522, 64.8681)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B845D5 #62D545
analogous
#7045D5 #B845D5 #D545AA
triadic
#B845D5 #D5B845 #45D5B8
tetradic
#B845D5 #D57045 #62D545 #45AAD5
square
#B845D5 #D57045 #62D545 #45AAD5
split-complementary
#B845D5 #AAD545 #45D570
monochromatic
#6E1D82 #9829B4 #B845D5 #CB77E0 #DEA9EC

Accessibility & contrast

On white

4.33
#B845D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#B845D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B845D5
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B845D5#FFFFFF#000000##000000
##B845D51.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072D9
Deuteranopia (green-blind)
#4E7DD2
Tritanopia (blue-blind)
#B86088
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b845d5;
/* rgb */ color: rgb(184, 69, 213);
/* oklch */ color: oklch(60.6% 0.225 318.8);
Tailwind
colors: {
  custom: {
    50: '#d182e2',
    500: '#b845d5',
    950: '#000000',
  },
}
SCSS
$custom: #b845d5;
$custom-light: #d182e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b845d5",
  "rgb": {
    "r": 184,
    "g": 69,
    "b": 213
  },
  "hsl": {
    "h": 287.917,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60613,
    "c": 0.22479,
    "h": 318.8
  },
  "luminance": 0.19251
}

Semantic roles & 50–950 ramp

primary
#B845D5
secondary
#A9D99D
accent
#E64263
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B845D5

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

Preview Lab → · Contrast checker → · Palette generator →

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