#B25FAC#B25FAC

#B25FAC is a mid, vivid purple. Relative luminance 0.206; OKLCH L 60.9% C 0.145 H 329.9°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#B25FAC
RGBrgb(178, 95, 172)
HSLhsl(304, 35%, 54%)
HSVhsv(304, 47%, 70%)
CMYKcmyk(0%, 46.6%, 3.4%, 30.2%)
CIE-LABlab(52.54, 44.61, -26.75)
CIE-LCHlch(52.54, 52.01, 329.05°)
OKLaboklab(60.91% 0.1258 -0.0729)
OKLCHoklch(60.91% 0.145 329.9)
XYZxyz(29.8984, 20.6296, 41.4288)
Luminance0.2063 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25FAC #5FB265
analogous
#8E5FB2 #B25FAC #B25F82
triadic
#B25FAC #ACB25F #5FACB2
tetradic
#B25FAC #B28E5F #5FB265 #5F82B2
square
#B25FAC #B28E5F #5FB265 #5F82B2
split-complementary
#B25FAC #82B25F #5FB28E
monochromatic
#663162 #8F458A #B25FAC #C688C1 #DAB2D7

Accessibility & contrast

On white

4.10
#B25FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#B25FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25FAC
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25FAC#FFFFFF#000000##000000
##B25FAC1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B76AF
Deuteranopia (green-blind)
#7281A9
Tritanopia (blue-blind)
#B8667D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b25fac;
/* rgb */ color: rgb(178, 95, 172);
/* oklch */ color: oklch(60.9% 0.145 329.9);
Tailwind
colors: {
  custom: {
    50: '#cb8fc5',
    500: '#b25fac',
    950: '#000000',
  },
}
SCSS
$custom: #b25fac;
$custom-light: #cb8fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#b25fac",
  "rgb": {
    "r": 178,
    "g": 95,
    "b": 172
  },
  "hsl": {
    "h": 304.337,
    "s": 35.021,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60912,
    "c": 0.14537,
    "h": 329.9
  },
  "luminance": 0.20628
}

Semantic roles & 50–950 ramp

primary
#B25FAC
secondary
#A5C8A7
accent
#CB655D
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#130D13
muted
#827D82

Preview Lab

Preview with #B25FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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