#B25CD9#B25CD9

#B25CD9 is a light, vivid purple. Relative luminance 0.221; OKLCH L 62.8% C 0.195 H 314.0°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#B25CD9
RGBrgb(178, 92, 217)
HSLhsl(281, 62%, 61%)
HSVhsv(281, 58%, 85%)
CMYKcmyk(18%, 57.6%, 0%, 14.9%)
CIE-LABlab(54.16, 54.95, -50.04)
CIE-LCHlch(54.16, 74.33, 317.68°)
OKLaboklab(62.82% 0.1352 -0.1402)
OKLCHoklch(62.82% 0.195 314)
XYZxyz(34.7095, 22.1300, 68.0753)
Luminance0.2213 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25CD9 #83D95C
analogous
#735CD9 #B25CD9 #D95CC1
triadic
#B25CD9 #D9B25C #5CD9B2
tetradic
#B25CD9 #D9735C #83D95C #5CC1D9
square
#B25CD9 #D9735C #83D95C #5CC1D9
split-complementary
#B25CD9 #C1D95C #5CD973
monochromatic
#732397 #992FC9 #B25CD9 #C98EE5 #E1BFF0

Accessibility & contrast

On white

3.87
#B25CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#B25CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25CD9
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25CD9#FFFFFF#000000##000000
##B25CD91.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#377DDD
Deuteranopia (green-blind)
#5884D6
Tritanopia (blue-blind)
#AF7292
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b25cd9;
/* rgb */ color: rgb(178, 92, 217);
/* oklch */ color: oklch(62.8% 0.195 314.0);
Tailwind
colors: {
  custom: {
    50: '#cc8ee5',
    500: '#b25cd9',
    950: '#000000',
  },
}
SCSS
$custom: #b25cd9;
$custom-light: #cc8ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#b25cd9",
  "rgb": {
    "r": 178,
    "g": 92,
    "b": 217
  },
  "hsl": {
    "h": 281.28,
    "s": 62.189,
    "l": 60.588
  },
  "oklch": {
    "l": 0.62824,
    "c": 0.19474,
    "h": 314
  },
  "luminance": 0.22129
}

Semantic roles & 50–950 ramp

primary
#B25CD9
secondary
#BFE0B1
accent
#CA1C52
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140D16
muted
#827D84

Preview Lab

Preview with #B25CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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