#B251DD#B251DD

#B251DD is a mid, highly saturated purple. Relative luminance 0.206; OKLCH L 61.7% C 0.214 H 313.8°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B251DD
RGBrgb(178, 81, 221)
HSLhsl(282, 67%, 59%)
HSVhsv(282, 63%, 87%)
CMYKcmyk(19.5%, 63.3%, 0%, 13.3%)
CIE-LABlab(52.48, 61.00, -55.00)
CIE-LCHlch(52.48, 82.13, 317.96°)
OKLaboklab(61.67% 0.1485 -0.1546)
OKLCHoklch(61.67% 0.214 313.8)
XYZxyz(34.3515, 20.5713, 70.5537)
Luminance0.2057 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B251DD #7CDD51
analogous
#6C51DD #B251DD #DD51C2
triadic
#B251DD #DDB251 #51DDB2
tetradic
#B251DD #DD6C51 #7CDD51 #51C2DD
square
#B251DD #DD6C51 #7CDD51 #51C2DD
split-complementary
#B251DD #C2DD51 #51DD6C
monochromatic
#711D96 #9827C9 #B251DD #C984E7 #DFB7F1

Accessibility & contrast

On white

4.11
#B251DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#B251DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B251DD
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B251DD#FFFFFF#000000##000000
##B251DD1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1278E1
Deuteranopia (green-blind)
#4B80DA
Tritanopia (blue-blind)
#AE6B90
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b251dd;
/* rgb */ color: rgb(178, 81, 221);
/* oklch */ color: oklch(61.7% 0.214 313.8);
Tailwind
colors: {
  custom: {
    50: '#cd88e8',
    500: '#b251dd',
    950: '#000000',
  },
}
SCSS
$custom: #b251dd;
$custom-light: #cd88e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b251dd",
  "rgb": {
    "r": 178,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 281.571,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61672,
    "c": 0.21437,
    "h": 313.8
  },
  "luminance": 0.2057
}

Semantic roles & 50–950 ramp

primary
#B251DD
secondary
#BAE0AA
accent
#EA3E73
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B251DD

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

Preview Lab → · Contrast checker → · Palette generator →

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