#8B2FC2#8B2FC2

#8B2FC2 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.3% C 0.217 H 309.0°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#8B2FC2
RGBrgb(139, 47, 194)
HSLhsl(278, 61%, 47%)
HSVhsv(278, 76%, 76%)
CMYKcmyk(28.4%, 75.8%, 0%, 23.9%)
CIE-LABlab(40.27, 61.61, -59.41)
CIE-LCHlch(40.27, 85.59, 316.04°)
OKLaboklab(51.28% 0.1368 -0.1686)
OKLCHoklch(51.28% 0.217 309)
XYZxyz(21.3996, 11.4174, 52.1049)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2FC2 #66C22F
analogous
#412FC2 #8B2FC2 #C22FB0
triadic
#8B2FC2 #C28B2F #2FC28B
tetradic
#8B2FC2 #C2412F #66C22F #2FB0C2
square
#8B2FC2 #C2412F #66C22F #2FB0C2
split-complementary
#8B2FC2 #B0C22F #2FC241
monochromatic
#44175F #682391 #8B2FC2 #A758D6 #C189E2

Accessibility & contrast

On white

6.40
#8B2FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8B2FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2FC2
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2FC2#FFFFFF#000000##FFFFFF
##8B2FC21.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#0060BF
Tritanopia (blue-blind)
#835377
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8b2fc2;
/* rgb */ color: rgb(139, 47, 194);
/* oklch */ color: oklch(51.3% 0.217 309.0);
Tailwind
colors: {
  custom: {
    50: '#b271d5',
    500: '#8b2fc2',
    950: '#000000',
  },
}
SCSS
$custom: #8b2fc2;
$custom-light: #b271d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2fc2",
  "rgb": {
    "r": 139,
    "g": 47,
    "b": 194
  },
  "hsl": {
    "h": 277.551,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51283,
    "c": 0.21709,
    "h": 309
  },
  "luminance": 0.11417
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B2FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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