#B25CD4#B25CD4

#B25CD4 is a light, vivid purple. Relative luminance 0.219; OKLCH L 62.5% C 0.190 H 315.4°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B25CD4
RGBrgb(178, 92, 212)
HSLhsl(283, 58%, 60%)
HSVhsv(283, 57%, 83%)
CMYKcmyk(16%, 56.6%, 0%, 16.9%)
CIE-LABlab(53.89, 53.91, -47.64)
CIE-LCHlch(53.89, 71.95, 318.54°)
OKLaboklab(62.54% 0.135 -0.1332)
OKLCHoklch(62.54% 0.19 315.4)
XYZxyz(34.0690, 21.8738, 64.7020)
Luminance0.2187 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25CD4 #7ED45C
analogous
#765CD4 #B25CD4 #D45CBA
triadic
#B25CD4 #D4B25C #5CD4B2
tetradic
#B25CD4 #D4765C #7ED45C #5CBAD4
square
#B25CD4 #D4765C #7ED45C #5CBAD4
split-complementary
#B25CD4 #BAD45C #5CD476
monochromatic
#722690 #9833C0 #B25CD4 #C98CE1 #E0BDEE

Accessibility & contrast

On white

3.91
#B25CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#B25CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25CD4
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25CD4#FFFFFF#000000##000000
##B25CD41.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7CD8
Deuteranopia (green-blind)
#5B83D1
Tritanopia (blue-blind)
#B0708F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b25cd4;
/* rgb */ color: rgb(178, 92, 212);
/* oklch */ color: oklch(62.5% 0.190 315.4);
Tailwind
colors: {
  custom: {
    50: '#cc8ee2',
    500: '#b25cd4',
    950: '#000000',
  },
}
SCSS
$custom: #b25cd4;
$custom-light: #cc8ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#b25cd4",
  "rgb": {
    "r": 178,
    "g": 92,
    "b": 212
  },
  "hsl": {
    "h": 283,
    "s": 58.252,
    "l": 59.608
  },
  "oklch": {
    "l": 0.62537,
    "c": 0.1896,
    "h": 315.4
  },
  "luminance": 0.21873
}

Semantic roles & 50–950 ramp

primary
#B25CD4
secondary
#BCDDAF
accent
#E14672
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140D15
muted
#827D83

Preview Lab

Preview with #B25CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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