#8D25C3#8D25C3

#8D25C3 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.8% C 0.228 H 310.2°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#8D25C3
RGBrgb(141, 37, 195)
HSLhsl(279, 68%, 45%)
HSVhsv(279, 81%, 76%)
CMYKcmyk(27.7%, 81%, 0%, 23.5%)
CIE-LABlab(39.46, 65.59, -61.31)
CIE-LCHlch(39.46, 89.78, 316.93°)
OKLaboklab(50.79% 0.1472 -0.174)
OKLCHoklch(50.79% 0.228 310.2)
XYZxyz(21.4944, 10.9265, 52.5959)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D25C3 #5BC325
analogous
#3E25C3 #8D25C3 #C325AA
triadic
#8D25C3 #C38D25 #25C38D
tetradic
#8D25C3 #C33E25 #5BC325 #25AAC3
square
#8D25C3 #C33E25 #5BC325 #25AAC3
split-complementary
#8D25C3 #AAC325 #25C33E
monochromatic
#43115C #681B90 #8D25C3 #AA49DC #C27CE6

Accessibility & contrast

On white

6.59
#8D25C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8D25C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D25C3
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D25C3#FFFFFF#000000##FFFFFF
##8D25C31.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C7
Deuteranopia (green-blind)
#005EC0
Tritanopia (blue-blind)
#854E76
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8d25c3;
/* rgb */ color: rgb(141, 37, 195);
/* oklch */ color: oklch(50.8% 0.228 310.2);
Tailwind
colors: {
  custom: {
    50: '#b46dd6',
    500: '#8d25c3',
    950: '#000000',
  },
}
SCSS
$custom: #8d25c3;
$custom-light: #b46dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d25c3",
  "rgb": {
    "r": 141,
    "g": 37,
    "b": 195
  },
  "hsl": {
    "h": 279.494,
    "s": 68.103,
    "l": 45.49
  },
  "oklch": {
    "l": 0.50793,
    "c": 0.22796,
    "h": 310.2
  },
  "luminance": 0.10926
}

Semantic roles & 50–950 ramp

primary
#8D25C3
secondary
#94CE76
accent
#EB3D78
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8D25C3

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

Preview Lab → · Contrast checker → · Palette generator →

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