#B25EC0#B25EC0

#B25EC0 is a mid, vivid purple. Relative luminance 0.213; OKLCH L 61.7% C 0.166 H 321.7°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#B25EC0
RGBrgb(178, 94, 192)
HSLhsl(291, 44%, 56%)
HSVhsv(291, 51%, 75%)
CMYKcmyk(7.3%, 51%, 0%, 24.7%)
CIE-LABlab(53.25, 48.89, -37.22)
CIE-LCHlch(53.25, 61.44, 322.72°)
OKLaboklab(61.73% 0.1305 -0.1029)
OKLCHoklch(61.73% 0.166 321.7)
XYZxyz(31.8762, 21.2775, 52.2869)
Luminance0.2128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25EC0 #6CC05E
analogous
#815EC0 #B25EC0 #C05E9D
triadic
#B25EC0 #C0B25E #5EC0B2
tetradic
#B25EC0 #C0815E #6CC05E #5E9DC0
square
#B25EC0 #C0815E #6CC05E #5E9DC0
split-complementary
#B25EC0 #9DC05E #5EC081
monochromatic
#6B2E76 #943FA2 #B25EC0 #C78AD1 #DCB6E2

Accessibility & contrast

On white

4.00
#B25EC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#B25EC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25EC0
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25EC0#FFFFFF#000000##000000
##B25EC01.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F79C3
Deuteranopia (green-blind)
#6882BD
Tritanopia (blue-blind)
#B46B86
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b25ec0;
/* rgb */ color: rgb(178, 94, 192);
/* oklch */ color: oklch(61.7% 0.166 321.7);
Tailwind
colors: {
  custom: {
    50: '#cb8fd3',
    500: '#b25ec0',
    950: '#000000',
  },
}
SCSS
$custom: #b25ec0;
$custom-light: #cb8fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#b25ec0",
  "rgb": {
    "r": 178,
    "g": 94,
    "b": 192
  },
  "hsl": {
    "h": 291.429,
    "s": 43.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61735,
    "c": 0.16621,
    "h": 321.7
  },
  "luminance": 0.21276
}

Semantic roles & 50–950 ramp

primary
#B25EC0
secondary
#AED1A9
accent
#D35466
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140D14
muted
#827D83

Preview Lab

Preview with #B25EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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