#B25CD2#B25CD2

#B25CD2 is a light, vivid purple. Relative luminance 0.218; OKLCH L 62.4% C 0.188 H 316.0°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#B25CD2
RGBrgb(178, 92, 210)
HSLhsl(284, 57%, 59%)
HSVhsv(284, 56%, 82%)
CMYKcmyk(15.2%, 56.2%, 0%, 17.6%)
CIE-LABlab(53.79, 53.50, -46.67)
CIE-LCHlch(53.79, 71.00, 318.90°)
OKLaboklab(62.42% 0.1349 -0.1303)
OKLCHoklch(62.42% 0.188 316)
XYZxyz(33.8183, 21.7735, 63.3815)
Luminance0.2177 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25CD2 #7CD25C
analogous
#775CD2 #B25CD2 #D25CB7
triadic
#B25CD2 #D2B25C #5CD2B2
tetradic
#B25CD2 #D2775C #7CD25C #5CB7D2
square
#B25CD2 #D2775C #7CD25C #5CB7D2
split-complementary
#B25CD2 #B7D25C #5CD277
monochromatic
#71278D #9834BD #B25CD2 #C98CDF #DFBCEC

Accessibility & contrast

On white

3.92
#B25CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#B25CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25CD2
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25CD2#FFFFFF#000000##000000
##B25CD21.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7BD6
Deuteranopia (green-blind)
#5D83CF
Tritanopia (blue-blind)
#B06F8E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b25cd2;
/* rgb */ color: rgb(178, 92, 210);
/* oklch */ color: oklch(62.4% 0.188 316.0);
Tailwind
colors: {
  custom: {
    50: '#cc8ee0',
    500: '#b25cd2',
    950: '#000000',
  },
}
SCSS
$custom: #b25cd2;
$custom-light: #cc8ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#b25cd2",
  "rgb": {
    "r": 178,
    "g": 92,
    "b": 210
  },
  "hsl": {
    "h": 283.729,
    "s": 56.731,
    "l": 59.216
  },
  "oklch": {
    "l": 0.62424,
    "c": 0.18756,
    "h": 316
  },
  "luminance": 0.21772
}

Semantic roles & 50–950 ramp

primary
#B25CD2
secondary
#BADCAE
accent
#E04871
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140D15
muted
#827D83

Preview Lab

Preview with #B25CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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