#B25DCA#B25DCA

#B25DCA is a light, vivid purple. Relative luminance 0.216; OKLCH L 62.1% C 0.178 H 318.4°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B25DCA
RGBrgb(178, 93, 202)
HSLhsl(287, 51%, 58%)
HSVhsv(287, 54%, 79%)
CMYKcmyk(11.9%, 54%, 0%, 20.8%)
CIE-LABlab(53.56, 51.38, -42.47)
CIE-LCHlch(53.56, 66.66, 320.42°)
OKLaboklab(62.12% 0.133 -0.1181)
OKLCHoklch(62.12% 0.178 318.4)
XYZxyz(32.9337, 21.5592, 58.2922)
Luminance0.2156 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25DCA #75CA5D
analogous
#7B5DCA #B25DCA #CA5DAB
triadic
#B25DCA #CAB25D #5DCAB2
tetradic
#B25DCA #CA7B5D #75CA5D #5DABCA
square
#B25DCA #CA7B5D #75CA5D #5DABCA
split-complementary
#B25DCA #ABCA5D #5DCA7B
monochromatic
#6F2B82 #963AB0 #B25DCA #C88BD9 #DEB9E8

Accessibility & contrast

On white

3.95
#B25DCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#B25DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25DCA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25DCA#FFFFFF#000000##000000
##B25DCA1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#467ACE
Deuteranopia (green-blind)
#6283C7
Tritanopia (blue-blind)
#B26D8B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b25dca;
/* rgb */ color: rgb(178, 93, 202);
/* oklch */ color: oklch(62.1% 0.178 318.4);
Tailwind
colors: {
  custom: {
    50: '#cb8eda',
    500: '#b25dca',
    950: '#000000',
  },
}
SCSS
$custom: #b25dca;
$custom-light: #cb8eda;
$custom-dark: #000000;
JSON
{
  "hex": "#b25dca",
  "rgb": {
    "r": 178,
    "g": 93,
    "b": 202
  },
  "hsl": {
    "h": 286.789,
    "s": 50.698,
    "l": 57.843
  },
  "oklch": {
    "l": 0.6212,
    "c": 0.17786,
    "h": 318.4
  },
  "luminance": 0.21558
}

Semantic roles & 50–950 ramp

primary
#B25DCA
secondary
#B5D7AC
accent
#DA4E6D
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140D15
muted
#827D83

Preview Lab

Preview with #B25DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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