#B25DCD#B25DCD

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

Color values

HEX#B25DCD
RGBrgb(178, 93, 205)
HSLhsl(286, 53%, 58%)
HSVhsv(286, 55%, 80%)
CMYKcmyk(13.2%, 54.6%, 0%, 19.6%)
CIE-LABlab(53.71, 51.98, -43.94)
CIE-LCHlch(53.71, 68.07, 319.79°)
OKLaboklab(62.28% 0.1332 -0.1224)
OKLCHoklch(62.28% 0.181 317.4)
XYZxyz(33.2923, 21.7027, 60.1811)
Luminance0.2170 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25DCD #78CD5D
analogous
#7A5DCD #B25DCD #CD5DB0
triadic
#B25DCD #CDB25D #5DCDB2
tetradic
#B25DCD #CD7A5D #78CD5D #5DB0CD
square
#B25DCD #CD7A5D #78CD5D #5DB0CD
split-complementary
#B25DCD #B0CD5D #5DCD7A
monochromatic
#702986 #9738B5 #B25DCD #C88CDB #DEBBEA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B25DCD#FFFFFF#000000##000000
##B25DCD1.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)
#447BD1
Deuteranopia (green-blind)
#6183CA
Tritanopia (blue-blind)
#B16E8C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b25dcd;
/* rgb */ color: rgb(178, 93, 205);
/* oklch */ color: oklch(62.3% 0.181 317.4);
Tailwind
colors: {
  custom: {
    50: '#cb8edd',
    500: '#b25dcd',
    950: '#000000',
  },
}
SCSS
$custom: #b25dcd;
$custom-light: #cb8edd;
$custom-dark: #000000;
JSON
{
  "hex": "#b25dcd",
  "rgb": {
    "r": 178,
    "g": 93,
    "b": 205
  },
  "hsl": {
    "h": 285.536,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.62284,
    "c": 0.18091,
    "h": 317.4
  },
  "luminance": 0.21701
}

Semantic roles & 50–950 ramp

primary
#B25DCD
secondary
#B7D9AD
accent
#DC4C6E
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140D15
muted
#827D83

Preview Lab

Preview with #B25DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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