#8F2BDD#8F2BDD

#8F2BDD is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.6% C 0.247 H 304.2°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8F2BDD
RGBrgb(143, 43, 221)
HSLhsl(274, 72%, 52%)
HSVhsv(274, 81%, 87%)
CMYKcmyk(35.3%, 80.5%, 0%, 13.3%)
CIE-LABlab(42.44, 69.47, -71.47)
CIE-LCHlch(42.44, 99.67, 314.19°)
OKLaboklab(53.57% 0.1388 -0.2039)
OKLCHoklch(53.57% 0.247 304.2)
XYZxyz(25.2397, 12.7879, 69.5312)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2BDD #79DD2B
analogous
#362BDD #8F2BDD #DD2BD2
triadic
#8F2BDD #DD8F2B #2BDD8F
tetradic
#8F2BDD #DD362B #79DD2B #2BD2DD
square
#8F2BDD #DD362B #79DD2B #2BD2DD
split-complementary
#8F2BDD #D2DD2B #2BDD36
monochromatic
#4D147A #6E1CAF #8F2BDD #AB60E5 #C794EE

Accessibility & contrast

On white

5.90
#8F2BDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8F2BDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2BDD
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2BDD#FFFFFF#000000##FFFFFF
##8F2BDD1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E2
Deuteranopia (green-blind)
#0064DA
Tritanopia (blue-blind)
#7F5C86
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8f2bdd;
/* rgb */ color: rgb(143, 43, 221);
/* oklch */ color: oklch(53.6% 0.247 304.2);
Tailwind
colors: {
  custom: {
    50: '#b771e9',
    500: '#8f2bdd',
    950: '#000000',
  },
}
SCSS
$custom: #8f2bdd;
$custom-light: #b771e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2bdd",
  "rgb": {
    "r": 143,
    "g": 43,
    "b": 221
  },
  "hsl": {
    "h": 273.708,
    "s": 72.358,
    "l": 51.765
  },
  "oklch": {
    "l": 0.53567,
    "c": 0.24662,
    "h": 304.2
  },
  "luminance": 0.12788
}

Semantic roles & 50–950 ramp

primary
#8F2BDD
secondary
#ADD98B
accent
#EF3989
background
#FBF7FE
surface
#F7EDFD
border
#D0C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8F2BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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