#B25EC7#B25EC7

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

Color values

HEX#B25EC7
RGBrgb(178, 94, 199)
HSLhsl(288, 48%, 57%)
HSVhsv(288, 53%, 78%)
CMYKcmyk(10.6%, 52.8%, 0%, 22%)
CIE-LABlab(53.59, 50.27, -40.70)
CIE-LCHlch(53.59, 64.68, 321.01°)
OKLaboklab(62.1% 0.1313 -0.113)
OKLCHoklch(62.1% 0.173 319.3)
XYZxyz(32.6703, 21.5952, 56.4691)
Luminance0.2159 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25EC7 #73C75E
analogous
#7E5EC7 #B25EC7 #C75EA7
triadic
#B25EC7 #C7B25E #5EC7B2
tetradic
#B25EC7 #C77E5E #73C75E #5EA7C7
square
#B25EC7 #C77E5E #73C75E #5EA7C7
split-complementary
#B25EC7 #A7C75E #5EC77E
monochromatic
#6E2C7F #963CAC #B25EC7 #C88BD7 #DDB9E7

Accessibility & contrast

On white

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

On black

5.32
#B25EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25EC7
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25EC7#FFFFFF#000000##000000
##B25EC71.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7ACA
Deuteranopia (green-blind)
#6583C4
Tritanopia (blue-blind)
#B36D8A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b25ec7;
/* rgb */ color: rgb(178, 94, 199);
/* oklch */ color: oklch(62.1% 0.173 319.3);
Tailwind
colors: {
  custom: {
    50: '#cb8fd8',
    500: '#b25ec7',
    950: '#000000',
  },
}
SCSS
$custom: #b25ec7;
$custom-light: #cb8fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#b25ec7",
  "rgb": {
    "r": 178,
    "g": 94,
    "b": 199
  },
  "hsl": {
    "h": 288,
    "s": 48.387,
    "l": 57.451
  },
  "oklch": {
    "l": 0.621,
    "c": 0.17324,
    "h": 319.3
  },
  "luminance": 0.21594
}

Semantic roles & 50–950 ramp

primary
#B25EC7
secondary
#B4D6AB
accent
#D8506B
background
#FCF9FD
surface
#F9F1FA
border
#D2CBD3
text
#140D14
muted
#827E83

Preview Lab

Preview with #B25EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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