#B25CEA#B25CEA

#B25CEA is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 63.8% C 0.212 H 309.6°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#B25CEA
RGBrgb(178, 92, 234)
HSLhsl(276, 77%, 64%)
HSVhsv(276, 61%, 92%)
CMYKcmyk(23.9%, 60.7%, 0%, 8.2%)
CIE-LABlab(55.13, 58.59, -58.07)
CIE-LCHlch(55.13, 82.49, 315.25°)
OKLaboklab(63.84% 0.1353 -0.1637)
OKLCHoklch(63.84% 0.212 309.6)
XYZxyz(37.0356, 23.0605, 80.3260)
Luminance0.2306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25CEA #94EA5C
analogous
#6B5CEA #B25CEA #EA5CDB
triadic
#B25CEA #EAB25C #5CEAB2
tetradic
#B25CEA #EA6B5C #94EA5C #5CDBEA
square
#B25CEA #EA6B5C #94EA5C #5CDBEA
split-complementary
#B25CEA #DBEA5C #5CEA6B
monochromatic
#7617B4 #9826E3 #B25CEA #CC92F1 #E5C8F8

Accessibility & contrast

On white

3.74
#B25CEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#B25CEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25CEA
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25CEA#FFFFFF#000000##000000
##B25CEA1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C80EE
Deuteranopia (green-blind)
#4A85E7
Tritanopia (blue-blind)
#AA789B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b25cea;
/* rgb */ color: rgb(178, 92, 234);
/* oklch */ color: oklch(63.8% 0.212 309.6);
Tailwind
colors: {
  custom: {
    50: '#cd8ef1',
    500: '#b25cea',
    950: '#000000',
  },
}
SCSS
$custom: #b25cea;
$custom-light: #cd8ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#b25cea",
  "rgb": {
    "r": 178,
    "g": 92,
    "b": 234
  },
  "hsl": {
    "h": 276.338,
    "s": 77.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.63843,
    "c": 0.21235,
    "h": 309.6
  },
  "luminance": 0.2306
}

Semantic roles & 50–950 ramp

primary
#B25CEA
secondary
#CCEAB8
accent
#D90C5D
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B25CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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