#B25CD1#B25CD1

#B25CD1 is a light, vivid purple. Relative luminance 0.217; OKLCH L 62.4% C 0.187 H 316.3°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#B25CD1
RGBrgb(178, 92, 209)
HSLhsl(284, 56%, 59%)
HSVhsv(284, 56%, 82%)
CMYKcmyk(14.8%, 56%, 0%, 18%)
CIE-LABlab(53.73, 53.30, -46.19)
CIE-LCHlch(53.73, 70.52, 319.09°)
OKLaboklab(62.37% 0.1348 -0.1289)
OKLCHoklch(62.37% 0.187 316.3)
XYZxyz(33.6941, 21.7239, 62.7275)
Luminance0.2172 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25CD1 #7BD15C
analogous
#785CD1 #B25CD1 #D15CB5
triadic
#B25CD1 #D1B25C #5CD1B2
tetradic
#B25CD1 #D1785C #7BD15C #5CB5D1
square
#B25CD1 #D1785C #7BD15C #5CB5D1
split-complementary
#B25CD1 #B5D15C #5CD178
monochromatic
#71278B #9735BB #B25CD1 #C98CDE #DFBBEC

Accessibility & contrast

On white

3.93
#B25CD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#B25CD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25CD1
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25CD1#FFFFFF#000000##000000
##B25CD11.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7BD5
Deuteranopia (green-blind)
#5D83CE
Tritanopia (blue-blind)
#B06F8E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b25cd1;
/* rgb */ color: rgb(178, 92, 209);
/* oklch */ color: oklch(62.4% 0.187 316.3);
Tailwind
colors: {
  custom: {
    50: '#cc8edf',
    500: '#b25cd1',
    950: '#000000',
  },
}
SCSS
$custom: #b25cd1;
$custom-light: #cc8edf;
$custom-dark: #000000;
JSON
{
  "hex": "#b25cd1",
  "rgb": {
    "r": 178,
    "g": 92,
    "b": 209
  },
  "hsl": {
    "h": 284.103,
    "s": 55.981,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62368,
    "c": 0.18654,
    "h": 316.3
  },
  "luminance": 0.21723
}

Semantic roles & 50–950 ramp

primary
#B25CD1
secondary
#BADBAD
accent
#DF4970
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140D15
muted
#827D83

Preview Lab

Preview with #B25CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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