#8A25B3#8A25B3

#8A25B3 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.2% C 0.213 H 313.6°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8A25B3
RGBrgb(138, 37, 179)
HSLhsl(283, 66%, 42%)
HSVhsv(283, 79%, 70%)
CMYKcmyk(22.9%, 79.3%, 0%, 29.8%)
CIE-LABlab(37.81, 61.84, -54.58)
CIE-LCHlch(37.81, 82.48, 318.56°)
OKLaboklab(49.17% 0.1468 -0.1544)
OKLCHoklch(49.17% 0.213 313.6)
XYZxyz(19.2781, 9.9817, 43.5502)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A25B3 #4EB325
analogous
#4325B3 #8A25B3 #B32595
triadic
#8A25B3 #B38A25 #25B38A
tetradic
#8A25B3 #B34325 #4EB325 #2595B3
square
#8A25B3 #B34325 #4EB325 #2595B3
split-complementary
#8A25B3 #95B325 #25B343
monochromatic
#3C104E #631B80 #8A25B3 #AB3ED7 #C171E2

Accessibility & contrast

On white

7.01
#8A25B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#8A25B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A25B3
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A25B3#FFFFFF#000000##FFFFFF
##8A25B31.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#135BB0
Tritanopia (blue-blind)
#86476C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a25b3;
/* rgb */ color: rgb(138, 37, 179);
/* oklch */ color: oklch(49.2% 0.213 313.6);
Tailwind
colors: {
  custom: {
    50: '#b16ccb',
    500: '#8a25b3',
    950: '#000000',
  },
}
SCSS
$custom: #8a25b3;
$custom-light: #b16ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a25b3",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 179
  },
  "hsl": {
    "h": 282.676,
    "s": 65.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49174,
    "c": 0.21305,
    "h": 313.6
  },
  "luminance": 0.09981
}

Semantic roles & 50–950 ramp

primary
#8A25B3
secondary
#86C86B
accent
#E93F70
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8A25B3

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

Preview Lab → · Contrast checker → · Palette generator →

#8A25B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva