#8A25BE#8A25BE

#8A25BE is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 50.0% C 0.223 H 310.4°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#8A25BE
RGBrgb(138, 37, 190)
HSLhsl(280, 67%, 45%)
HSVhsv(280, 81%, 75%)
CMYKcmyk(27.4%, 80.5%, 0%, 25.5%)
CIE-LABlab(38.63, 64.07, -59.75)
CIE-LCHlch(38.63, 87.60, 317.00°)
OKLaboklab(50.01% 0.1444 -0.1695)
OKLCHoklch(50.01% 0.223 310.4)
XYZxyz(20.4352, 10.4446, 49.6447)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A25BE #59BE25
analogous
#3E25BE #8A25BE #BE25A6
triadic
#8A25BE #BE8A25 #25BE8A
tetradic
#8A25BE #BE3E25 #59BE25 #25A6BE
square
#8A25BE #BE3E25 #59BE25 #25A6BE
split-complementary
#8A25BE #A6BE25 #25BE3E
monochromatic
#401158 #651B8B #8A25BE #A845DB #C079E5

Accessibility & contrast

On white

6.80
#8A25BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8A25BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A25BE
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A25BE#FFFFFF#000000##FFFFFF
##8A25BE1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C2
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#834D73
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a25be;
/* rgb */ color: rgb(138, 37, 190);
/* oklch */ color: oklch(50.0% 0.223 310.4);
Tailwind
colors: {
  custom: {
    50: '#b26dd3',
    500: '#8a25be',
    950: '#000000',
  },
}
SCSS
$custom: #8a25be;
$custom-light: #b26dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a25be",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 190
  },
  "hsl": {
    "h": 279.608,
    "s": 67.401,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50005,
    "c": 0.22273,
    "h": 310.4
  },
  "luminance": 0.10444
}

Semantic roles & 50–950 ramp

primary
#8A25BE
secondary
#91CD72
accent
#EA3E78
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8A25BE

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

Preview Lab → · Contrast checker → · Palette generator →

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