#B25ACC#B25ACC

#B25ACC is a mid, vivid purple. Relative luminance 0.211; OKLCH L 61.8% C 0.185 H 318.0°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B25ACC
RGBrgb(178, 90, 204)
HSLhsl(286, 53%, 58%)
HSVhsv(286, 56%, 80%)
CMYKcmyk(12.7%, 55.9%, 0%, 20%)
CIE-LABlab(53.10, 53.27, -44.34)
CIE-LCHlch(53.10, 69.31, 320.23°)
OKLaboklab(61.82% 0.1371 -0.1235)
OKLCHoklch(61.82% 0.185 318)
XYZxyz(32.9138, 21.1382, 59.4613)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25ACC #74CC5A
analogous
#795ACC #B25ACC #CC5AAD
triadic
#B25ACC #CCB25A #5ACCB2
tetradic
#B25ACC #CC795A #74CC5A #5AADCC
square
#B25ACC #CC795A #74CC5A #5AADCC
split-complementary
#B25ACC #ADCC5A #5ACC79
monochromatic
#6E2983 #9637B2 #B25ACC #C889DA #DEB7E9

Accessibility & contrast

On white

4.02
#B25ACC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#B25ACC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25ACC
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25ACC#FFFFFF#000000##000000
##B25ACC1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4079D0
Deuteranopia (green-blind)
#5F82C9
Tritanopia (blue-blind)
#B26C8B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b25acc;
/* rgb */ color: rgb(178, 90, 204);
/* oklch */ color: oklch(61.8% 0.185 318.0);
Tailwind
colors: {
  custom: {
    50: '#cc8ddc',
    500: '#b25acc',
    950: '#000000',
  },
}
SCSS
$custom: #b25acc;
$custom-light: #cc8ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#b25acc",
  "rgb": {
    "r": 178,
    "g": 90,
    "b": 204
  },
  "hsl": {
    "h": 286.316,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61819,
    "c": 0.18454,
    "h": 318
  },
  "luminance": 0.21137
}

Semantic roles & 50–950 ramp

primary
#B25ACC
secondary
#B4D8AA
accent
#DC4C6D
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B25ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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