#B25ABA#B25ABA

#B25ABA is a mid, vivid purple. Relative luminance 0.203; OKLCH L 60.9% C 0.167 H 324.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#B25ABA
RGBrgb(178, 90, 186)
HSLhsl(295, 41%, 54%)
HSVhsv(295, 52%, 73%)
CMYKcmyk(4.3%, 51.6%, 0%, 27.1%)
CIE-LABlab(52.20, 49.75, -35.41)
CIE-LCHlch(52.20, 61.06, 324.56°)
OKLaboklab(60.87% 0.1353 -0.0977)
OKLCHoklch(60.87% 0.167 324.2)
XYZxyz(30.8784, 20.3240, 48.7413)
Luminance0.2032 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25ABA #62BA5A
analogous
#825ABA #B25ABA #BA5A92
triadic
#B25ABA #BAB25A #5ABAB2
tetradic
#B25ABA #BA825A #62BA5A #5A92BA
square
#B25ABA #BA825A #62BA5A #5A92BA
split-complementary
#B25ABA #92BA5A #5ABA82
monochromatic
#672D6C #903F97 #B25ABA #C685CC #DAB0DE

Accessibility & contrast

On white

4.15
#B25ABA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#B25ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25ABA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25ABA#FFFFFF#000000##000000
##B25ABA1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D76BD
Deuteranopia (green-blind)
#6880B7
Tritanopia (blue-blind)
#B56682
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b25aba;
/* rgb */ color: rgb(178, 90, 186);
/* oklch */ color: oklch(60.9% 0.167 324.2);
Tailwind
colors: {
  custom: {
    50: '#cb8ccf',
    500: '#b25aba',
    950: '#000000',
  },
}
SCSS
$custom: #b25aba;
$custom-light: #cb8ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#b25aba",
  "rgb": {
    "r": 178,
    "g": 90,
    "b": 186
  },
  "hsl": {
    "h": 295,
    "s": 41.026,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60866,
    "c": 0.16684,
    "h": 324.2
  },
  "luminance": 0.20322
}

Semantic roles & 50–950 ramp

primary
#B25ABA
secondary
#A7CCA3
accent
#D15761
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B25ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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