#A25BB2#A25BB2

#A25BB2 is a mid, vivid purple. Relative luminance 0.184; OKLCH L 58.6% C 0.148 H 320.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#A25BB2
RGBrgb(162, 91, 178)
HSLhsl(289, 36%, 53%)
HSVhsv(289, 49%, 70%)
CMYKcmyk(9%, 48.9%, 0%, 30.2%)
CIE-LABlab(49.95, 43.09, -34.44)
CIE-LCHlch(49.95, 55.16, 321.37°)
OKLaboklab(58.64% 0.1136 -0.0952)
OKLCHoklch(58.64% 0.148 320)
XYZxyz(26.6763, 18.3789, 44.2531)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25BB2 #6BB25B
analogous
#775BB2 #A25BB2 #B25B96
triadic
#A25BB2 #B2A25B #5BB2A2
tetradic
#A25BB2 #B2775B #6BB25B #5B96B2
square
#A25BB2 #B2775B #6BB25B #5B96B2
split-complementary
#A25BB2 #96B25B #5BB277
monochromatic
#5A2F64 #80428D #A25BB2 #BA85C6 #D1AED9

Accessibility & contrast

On white

4.49
#A25BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#A25BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25BB2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25BB2#FFFFFF#000000##000000
##A25BB21.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D72B5
Deuteranopia (green-blind)
#6279B0
Tritanopia (blue-blind)
#A3677E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a25bb2;
/* rgb */ color: rgb(162, 91, 178);
/* oklch */ color: oklch(58.6% 0.148 320.0);
Tailwind
colors: {
  custom: {
    50: '#bf8cc9',
    500: '#a25bb2',
    950: '#000000',
  },
}
SCSS
$custom: #a25bb2;
$custom-light: #bf8cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#a25bb2",
  "rgb": {
    "r": 162,
    "g": 91,
    "b": 178
  },
  "hsl": {
    "h": 288.966,
    "s": 36.1,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58638,
    "c": 0.14826,
    "h": 320
  },
  "luminance": 0.18378
}

Semantic roles & 50–950 ramp

primary
#A25BB2
secondary
#A8C7A2
accent
#CC5C70
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#120C13
muted
#817D82

Preview Lab

Preview with #A25BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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