#B25DBD#B25DBD

#B25DBD is a mid, vivid purple. Relative luminance 0.210; OKLCH L 61.4% C 0.165 H 322.9°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B25DBD
RGBrgb(178, 93, 189)
HSLhsl(293, 42%, 55%)
HSVhsv(293, 51%, 74%)
CMYKcmyk(5.8%, 50.8%, 0%, 25.9%)
CIE-LABlab(52.92, 48.81, -36.02)
CIE-LCHlch(52.92, 60.66, 323.58°)
OKLaboklab(61.44% 0.1315 -0.0994)
OKLCHoklch(61.44% 0.165 322.9)
XYZxyz(31.4588, 20.9693, 50.5246)
Luminance0.2097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25DBD #68BD5D
analogous
#825DBD #B25DBD #BD5D98
triadic
#B25DBD #BDB25D #5DBDB2
tetradic
#B25DBD #BD825D #68BD5D #5D98BD
square
#B25DBD #BD825D #68BD5D #5D98BD
split-complementary
#B25DBD #98BD5D #5DBD82
monochromatic
#6A2E71 #92409D #B25DBD #C788CF #DBB4E0

Accessibility & contrast

On white

4.04
#B25DBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#B25DBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25DBD
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25DBD#FFFFFF#000000##000000
##B25DBD1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F78C0
Deuteranopia (green-blind)
#6982BA
Tritanopia (blue-blind)
#B56984
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b25dbd;
/* rgb */ color: rgb(178, 93, 189);
/* oklch */ color: oklch(61.4% 0.165 322.9);
Tailwind
colors: {
  custom: {
    50: '#cb8ed1',
    500: '#b25dbd',
    950: '#000000',
  },
}
SCSS
$custom: #b25dbd;
$custom-light: #cb8ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#b25dbd",
  "rgb": {
    "r": 178,
    "g": 93,
    "b": 189
  },
  "hsl": {
    "h": 293.125,
    "s": 42.105,
    "l": 55.294
  },
  "oklch": {
    "l": 0.6144,
    "c": 0.16488,
    "h": 322.9
  },
  "luminance": 0.20968
}

Semantic roles & 50–950 ramp

primary
#B25DBD
secondary
#ABCFA7
accent
#D25664
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B25DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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