#B25AEA#B25AEA

#B25AEA is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 63.6% C 0.215 H 309.8°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#B25AEA
RGBrgb(178, 90, 234)
HSLhsl(277, 77%, 64%)
HSVhsv(277, 62%, 92%)
CMYKcmyk(23.9%, 61.5%, 0%, 8.2%)
CIE-LABlab(54.78, 59.55, -58.64)
CIE-LCHlch(54.78, 83.57, 315.44°)
OKLaboklab(63.59% 0.1377 -0.1653)
OKLCHoklch(63.59% 0.215 309.8)
XYZxyz(36.8647, 22.7185, 80.2691)
Luminance0.2272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25AEA #92EA5A
analogous
#6A5AEA #B25AEA #EA5ADA
triadic
#B25AEA #EAB25A #5AEAB2
tetradic
#B25AEA #EA6A5A #92EA5A #5ADAEA
square
#B25AEA #EA6A5A #92EA5A #5ADAEA
split-complementary
#B25AEA #DAEA5A #5AEA6A
monochromatic
#7617B3 #9924E3 #B25AEA #CB90F1 #E5C7F8

Accessibility & contrast

On white

3.79
#B25AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#B25AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25AEA
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25AEA#FFFFFF#000000##000000
##B25AEA1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#147FEE
Deuteranopia (green-blind)
#4884E7
Tritanopia (blue-blind)
#AA769A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b25aea;
/* rgb */ color: rgb(178, 90, 234);
/* oklch */ color: oklch(63.6% 0.215 309.8);
Tailwind
colors: {
  custom: {
    50: '#cd8df1',
    500: '#b25aea',
    950: '#000000',
  },
}
SCSS
$custom: #b25aea;
$custom-light: #cd8df1;
$custom-dark: #000000;
JSON
{
  "hex": "#b25aea",
  "rgb": {
    "r": 178,
    "g": 90,
    "b": 234
  },
  "hsl": {
    "h": 276.667,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63586,
    "c": 0.21512,
    "h": 309.8
  },
  "luminance": 0.22718
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B25AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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