#8F46CD#8F46CD

#8F46CD is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.1% C 0.202 H 305.6°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8F46CD
RGBrgb(143, 70, 205)
HSLhsl(272, 57%, 54%)
HSVhsv(272, 66%, 80%)
CMYKcmyk(30.2%, 65.9%, 0%, 19.6%)
CIE-LABlab(45.12, 54.91, -57.93)
CIE-LCHlch(45.12, 79.82, 313.47°)
OKLaboklab(55.09% 0.1174 -0.1642)
OKLCHoklch(55.09% 0.202 305.6)
XYZxyz(24.5349, 14.6279, 59.2767)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F46CD #84CD46
analogous
#4C46CD #8F46CD #CD46C8
triadic
#8F46CD #CD8F46 #46CD8F
tetradic
#8F46CD #CD4C46 #84CD46 #46C8CD
square
#8F46CD #CD4C46 #84CD46 #46C8CD
split-complementary
#8F46CD #C8CD46 #46CD4C
monochromatic
#502078 #702DA8 #8F46CD #AC76DA #C9A6E7

Accessibility & contrast

On white

5.35
#8F46CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#8F46CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F46CD
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F46CD#FFFFFF#000000##FFFFFF
##8F46CD1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#206BCA
Tritanopia (blue-blind)
#846384
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8f46cd;
/* rgb */ color: rgb(143, 70, 205);
/* oklch */ color: oklch(55.1% 0.202 305.6);
Tailwind
colors: {
  custom: {
    50: '#b47edd',
    500: '#8f46cd',
    950: '#000000',
  },
}
SCSS
$custom: #8f46cd;
$custom-light: #b47edd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f46cd",
  "rgb": {
    "r": 143,
    "g": 70,
    "b": 205
  },
  "hsl": {
    "h": 272.444,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5509,
    "c": 0.20188,
    "h": 305.6
  },
  "luminance": 0.14628
}

Semantic roles & 50–950 ramp

primary
#8F46CD
secondary
#B5D49B
accent
#E1478E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8F46CD

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

Preview Lab → · Contrast checker → · Palette generator →

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