#8A2FC0#8A2FC0

#8A2FC0 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 51.0% C 0.215 H 309.2°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#8A2FC0
RGBrgb(138, 47, 192)
HSLhsl(278, 61%, 47%)
HSVhsv(278, 76%, 75%)
CMYKcmyk(28.1%, 75.5%, 0%, 24.7%)
CIE-LABlab(39.99, 61.00, -58.72)
CIE-LCHlch(39.99, 84.67, 316.09°)
OKLaboklab(51% 0.1358 -0.1666)
OKLCHoklch(51% 0.215 309.2)
XYZxyz(21.0102, 11.2425, 50.9222)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2FC0 #65C02F
analogous
#422FC0 #8A2FC0 #C02FAE
triadic
#8A2FC0 #C08A2F #2FC08A
tetradic
#8A2FC0 #C0422F #65C02F #2FAEC0
square
#8A2FC0 #C0422F #65C02F #2FAEC0
split-complementary
#8A2FC0 #AEC02F #2FC042
monochromatic
#43175E #67238F #8A2FC0 #A656D6 #C088E2

Accessibility & contrast

On white

6.46
#8A2FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#8A2FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A2FC0
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2FC0#FFFFFF#000000##FFFFFF
##8A2FC01.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC4
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#825276
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a2fc0;
/* rgb */ color: rgb(138, 47, 192);
/* oklch */ color: oklch(51.0% 0.215 309.2);
Tailwind
colors: {
  custom: {
    50: '#b171d4',
    500: '#8a2fc0',
    950: '#000000',
  },
}
SCSS
$custom: #8a2fc0;
$custom-light: #b171d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2fc0",
  "rgb": {
    "r": 138,
    "g": 47,
    "b": 192
  },
  "hsl": {
    "h": 277.655,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51004,
    "c": 0.21494,
    "h": 309.2
  },
  "luminance": 0.11242
}

Semantic roles & 50–950 ramp

primary
#8A2FC0
secondary
#9CCB7F
accent
#E44480
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8A2FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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