#8B2FC1#8B2FC1

#8B2FC1 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.2% C 0.216 H 309.3°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#8B2FC1
RGBrgb(139, 47, 193)
HSLhsl(278, 61%, 47%)
HSVhsv(278, 76%, 76%)
CMYKcmyk(28%, 75.6%, 0%, 24.3%)
CIE-LABlab(40.20, 61.40, -58.95)
CIE-LCHlch(40.20, 85.11, 316.17°)
OKLaboklab(51.21% 0.137 -0.1672)
OKLCHoklch(51.21% 0.216 309.3)
XYZxyz(21.2877, 11.3727, 51.5155)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2FC1 #65C12F
analogous
#422FC1 #8B2FC1 #C12FAE
triadic
#8B2FC1 #C18B2F #2FC18B
tetradic
#8B2FC1 #C1422F #65C12F #2FAEC1
square
#8B2FC1 #C1422F #65C12F #2FAEC1
split-complementary
#8B2FC1 #AEC12F #2FC142
monochromatic
#44175F #682390 #8B2FC1 #A757D6 #C188E2

Accessibility & contrast

On white

6.41
#8B2FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8B2FC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2FC1
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2FC1#FFFFFF#000000##FFFFFF
##8B2FC11.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC5
Deuteranopia (green-blind)
#0060BE
Tritanopia (blue-blind)
#835277
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8b2fc1;
/* rgb */ color: rgb(139, 47, 193);
/* oklch */ color: oklch(51.2% 0.216 309.3);
Tailwind
colors: {
  custom: {
    50: '#b271d5',
    500: '#8b2fc1',
    950: '#000000',
  },
}
SCSS
$custom: #8b2fc1;
$custom-light: #b271d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2fc1",
  "rgb": {
    "r": 139,
    "g": 47,
    "b": 193
  },
  "hsl": {
    "h": 277.808,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51208,
    "c": 0.21616,
    "h": 309.3
  },
  "luminance": 0.11372
}

Semantic roles & 50–950 ramp

primary
#8B2FC1
secondary
#9CCC80
accent
#E4447F
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8B2FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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