#8B25C3#8B25C3

#8B25C3 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.5% C 0.227 H 309.5°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#8B25C3
RGBrgb(139, 37, 195)
HSLhsl(279, 68%, 45%)
HSVhsv(279, 81%, 76%)
CMYKcmyk(28.7%, 81%, 0%, 23.5%)
CIE-LABlab(39.16, 65.26, -61.81)
CIE-LCHlch(39.16, 89.88, 316.56°)
OKLaboklab(50.53% 0.1446 -0.1756)
OKLCHoklch(50.53% 0.227 309.5)
XYZxyz(21.1574, 10.7527, 52.5801)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B25C3 #5DC325
analogous
#3C25C3 #8B25C3 #C325AC
triadic
#8B25C3 #C38B25 #25C38B
tetradic
#8B25C3 #C33C25 #5DC325 #25ACC3
square
#8B25C3 #C33C25 #5DC325 #25ACC3
split-complementary
#8B25C3 #ACC325 #25C33C
monochromatic
#42115C #661B90 #8B25C3 #A849DC #C17CE6

Accessibility & contrast

On white

6.67
#8B25C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8B25C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B25C3
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B25C3#FFFFFF#000000##FFFFFF
##8B25C31.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C7
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#834F76
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8b25c3;
/* rgb */ color: rgb(139, 37, 195);
/* oklch */ color: oklch(50.5% 0.227 309.5);
Tailwind
colors: {
  custom: {
    50: '#b26dd6',
    500: '#8b25c3',
    950: '#000000',
  },
}
SCSS
$custom: #8b25c3;
$custom-light: #b26dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b25c3",
  "rgb": {
    "r": 139,
    "g": 37,
    "b": 195
  },
  "hsl": {
    "h": 278.734,
    "s": 68.103,
    "l": 45.49
  },
  "oklch": {
    "l": 0.50526,
    "c": 0.22742,
    "h": 309.5
  },
  "luminance": 0.10752
}

Semantic roles & 50–950 ramp

primary
#8B25C3
secondary
#95CE76
accent
#EB3D7B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8B25C3

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

Preview Lab → · Contrast checker → · Palette generator →

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