#B25BEA#B25BEA

#B25BEA is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 63.7% C 0.214 H 309.7°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#B25BEA
RGBrgb(178, 91, 234)
HSLhsl(277, 77%, 64%)
HSVhsv(277, 61%, 92%)
CMYKcmyk(23.9%, 61.1%, 0%, 8.2%)
CIE-LABlab(54.96, 59.07, -58.35)
CIE-LCHlch(54.96, 83.03, 315.35°)
OKLaboklab(63.71% 0.1365 -0.1645)
OKLCHoklch(63.71% 0.214 309.7)
XYZxyz(36.9496, 22.8883, 80.2974)
Luminance0.2289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25BEA #93EA5B
analogous
#6A5BEA #B25BEA #EA5BDB
triadic
#B25BEA #EAB25B #5BEAB2
tetradic
#B25BEA #EA6A5B #93EA5B #5BDBEA
square
#B25BEA #EA6A5B #93EA5B #5BDBEA
split-complementary
#B25BEA #DBEA5B #5BEA6A
monochromatic
#7617B4 #9925E3 #B25BEA #CB91F1 #E5C8F8

Accessibility & contrast

On white

3.77
#B25BEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#B25BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25BEA
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25BEA#FFFFFF#000000##000000
##B25BEA1.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1880EE
Deuteranopia (green-blind)
#4985E7
Tritanopia (blue-blind)
#AA779A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b25bea;
/* rgb */ color: rgb(178, 91, 234);
/* oklch */ color: oklch(63.7% 0.214 309.7);
Tailwind
colors: {
  custom: {
    50: '#cd8ef1',
    500: '#b25bea',
    950: '#000000',
  },
}
SCSS
$custom: #b25bea;
$custom-light: #cd8ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#b25bea",
  "rgb": {
    "r": 178,
    "g": 91,
    "b": 234
  },
  "hsl": {
    "h": 276.503,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63714,
    "c": 0.21374,
    "h": 309.7
  },
  "luminance": 0.22888
}

Semantic roles & 50–950 ramp

primary
#B25BEA
secondary
#CBEAB7
accent
#DA0C5C
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140D17
muted
#837D85

Preview Lab

Preview with #B25BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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