#B845DD#B845DD

#B845DD is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 61.1% C 0.232 H 316.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#B845DD
RGBrgb(184, 69, 221)
HSLhsl(285, 69%, 57%)
HSVhsv(285, 69%, 87%)
CMYKcmyk(16.7%, 68.8%, 0%, 13.3%)
CIE-LABlab(51.46, 67.42, -56.59)
CIE-LCHlch(51.46, 88.02, 319.99°)
OKLaboklab(61.11% 0.1688 -0.159)
OKLCHoklch(61.11% 0.232 316.7)
XYZxyz(34.9445, 19.6685, 70.3483)
Luminance0.1967 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B845DD #6ADD45
analogous
#6C45DD #B845DD #DD45B6
triadic
#B845DD #DDB845 #45DDB8
tetradic
#B845DD #DD6C45 #6ADD45 #45B6DD
square
#B845DD #DD6C45 #6ADD45 #45B6DD
split-complementary
#B845DD #B6DD45 #45DD6C
monochromatic
#721A8E #9B23C1 #B845DD #CC79E6 #E0ACF0

Accessibility & contrast

On white

4.26
#B845DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#B845DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B845DD
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B845DD#FFFFFF#000000##000000
##B845DD1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E1
Deuteranopia (green-blind)
#477ED9
Tritanopia (blue-blind)
#B6638C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b845dd;
/* rgb */ color: rgb(184, 69, 221);
/* oklch */ color: oklch(61.1% 0.232 316.7);
Tailwind
colors: {
  custom: {
    50: '#d182e8',
    500: '#b845dd',
    950: '#000000',
  },
}
SCSS
$custom: #b845dd;
$custom-light: #d182e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b845dd",
  "rgb": {
    "r": 184,
    "g": 69,
    "b": 221
  },
  "hsl": {
    "h": 285.395,
    "s": 69.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.6111,
    "c": 0.2319,
    "h": 316.7
  },
  "luminance": 0.19667
}

Semantic roles & 50–950 ramp

primary
#B845DD
secondary
#AFDEA0
accent
#EC3C67
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B845DD

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

Preview Lab → · Contrast checker → · Palette generator →

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