#A25FBB#A25FBB

#A25FBB is a mid, vivid purple. Relative luminance 0.195; OKLCH L 59.7% C 0.151 H 316.2°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#A25FBB
RGBrgb(162, 95, 187)
HSLhsl(284, 40%, 55%)
HSVhsv(284, 49%, 73%)
CMYKcmyk(13.4%, 49.2%, 0%, 26.7%)
CIE-LABlab(51.21, 42.82, -37.67)
CIE-LCHlch(51.21, 57.03, 318.66°)
OKLaboklab(59.72% 0.1092 -0.1046)
OKLCHoklch(59.72% 0.151 316.2)
XYZxyz(27.9608, 19.4545, 49.2863)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25FBB #78BB5F
analogous
#745FBB #A25FBB #BB5FA6
triadic
#A25FBB #BBA25F #5FBBA2
tetradic
#A25FBB #BB745F #78BB5F #5FA6BB
square
#A25FBB #BB745F #78BB5F #5FA6BB
split-complementary
#A25FBB #A6BB5F #5FBB74
monochromatic
#5F3070 #83429B #A25FBB #BB8ACD #D4B5E0

Accessibility & contrast

On white

4.29
#A25FBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#A25FBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25FBB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25FBB#FFFFFF#000000##000000
##A25FBB1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D76BE
Deuteranopia (green-blind)
#607CB8
Tritanopia (blue-blind)
#A16D84
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a25fbb;
/* rgb */ color: rgb(162, 95, 187);
/* oklch */ color: oklch(59.7% 0.151 316.2);
Tailwind
colors: {
  custom: {
    50: '#bf8ed0',
    500: '#a25fbb',
    950: '#000000',
  },
}
SCSS
$custom: #a25fbb;
$custom-light: #bf8ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#a25fbb",
  "rgb": {
    "r": 162,
    "g": 95,
    "b": 187
  },
  "hsl": {
    "h": 283.696,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59718,
    "c": 0.15121,
    "h": 316.2
  },
  "luminance": 0.19454
}

Semantic roles & 50–950 ramp

primary
#A25FBB
secondary
#B2CEA8
accent
#D05878
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #A25FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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