#B25AC9#B25AC9

#B25AC9 is a mid, vivid purple. Relative luminance 0.210; OKLCH L 61.7% C 0.182 H 318.9°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B25AC9
RGBrgb(178, 90, 201)
HSLhsl(288, 51%, 57%)
HSVhsv(288, 55%, 79%)
CMYKcmyk(11.4%, 55.2%, 0%, 21.2%)
CIE-LABlab(52.94, 52.67, -42.87)
CIE-LCHlch(52.94, 67.91, 320.86°)
OKLaboklab(61.66% 0.1369 -0.1193)
OKLCHoklch(61.66% 0.182 318.9)
XYZxyz(32.5575, 20.9956, 57.5846)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25AC9 #71C95A
analogous
#7B5AC9 #B25AC9 #C95AA8
triadic
#B25AC9 #C9B25A #5AC9B2
tetradic
#B25AC9 #C97B5A #71C95A #5AA8C9
square
#B25AC9 #C97B5A #71C95A #5AA8C9
split-complementary
#B25AC9 #A8C95A #5AC97B
monochromatic
#6D2A7F #9539AD #B25AC9 #C888D8 #DDB6E7

Accessibility & contrast

On white

4.04
#B25AC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#B25AC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25AC9
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25AC9#FFFFFF#000000##000000
##B25AC91.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4378CD
Deuteranopia (green-blind)
#6181C6
Tritanopia (blue-blind)
#B26B89
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b25ac9;
/* rgb */ color: rgb(178, 90, 201);
/* oklch */ color: oklch(61.7% 0.182 318.9);
Tailwind
colors: {
  custom: {
    50: '#cb8dda',
    500: '#b25ac9',
    950: '#000000',
  },
}
SCSS
$custom: #b25ac9;
$custom-light: #cb8dda;
$custom-dark: #000000;
JSON
{
  "hex": "#b25ac9",
  "rgb": {
    "r": 178,
    "g": 90,
    "b": 201
  },
  "hsl": {
    "h": 287.568,
    "s": 50.685,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61655,
    "c": 0.18153,
    "h": 318.9
  },
  "luminance": 0.20994
}

Semantic roles & 50–950 ramp

primary
#B25AC9
secondary
#B2D6A9
accent
#DA4E6B
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B25AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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