#8F25CA#8F25CA

#8F25CA is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.6% C 0.235 H 309.1°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#8F25CA
RGBrgb(143, 37, 202)
HSLhsl(279, 69%, 47%)
HSVhsv(279, 82%, 79%)
CMYKcmyk(29.2%, 81.7%, 0%, 20.8%)
CIE-LABlab(40.29, 67.34, -64.02)
CIE-LCHlch(40.29, 92.92, 316.45°)
OKLaboklab(51.6% 0.1481 -0.1819)
OKLCHoklch(51.6% 0.235 309.1)
XYZxyz(22.6477, 11.4275, 56.8783)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F25CA #60CA25
analogous
#3C25CA #8F25CA #CA25B3
triadic
#8F25CA #CA8F25 #25CA8F
tetradic
#8F25CA #CA3C25 #60CA25 #25B3CA
square
#8F25CA #CA3C25 #60CA25 #25B3CA
split-complementary
#8F25CA #B3CA25 #25CA3C
monochromatic
#461263 #6A1C96 #8F25CA #AB4EDF #C381E8

Accessibility & contrast

On white

6.39
#8F25CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8F25CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F25CA
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F25CA#FFFFFF#000000##FFFFFF
##8F25CA1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCE
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#86517A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8f25ca;
/* rgb */ color: rgb(143, 37, 202);
/* oklch */ color: oklch(51.6% 0.235 309.1);
Tailwind
colors: {
  custom: {
    50: '#b66edb',
    500: '#8f25ca',
    950: '#000000',
  },
}
SCSS
$custom: #8f25ca;
$custom-light: #b66edb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f25ca",
  "rgb": {
    "r": 143,
    "g": 37,
    "b": 202
  },
  "hsl": {
    "h": 278.545,
    "s": 69.038,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51603,
    "c": 0.2346,
    "h": 309.1
  },
  "luminance": 0.11427
}

Semantic roles & 50–950 ramp

primary
#8F25CA
secondary
#99D17A
accent
#EC3C7B
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #8F25CA

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

Preview Lab → · Contrast checker → · Palette generator →

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