#8F74CD#8F74CD

#8F74CD is a light, vivid violet. Relative luminance 0.227; OKLCH L 62.2% C 0.133 H 296.3°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8F74CD
RGBrgb(143, 116, 205)
HSLhsl(258, 47%, 63%)
HSVhsv(258, 43%, 80%)
CMYKcmyk(30.2%, 43.4%, 0%, 19.6%)
CIE-LABlab(54.80, 29.83, -42.47)
CIE-LCHlch(54.80, 51.90, 305.09°)
OKLaboklab(62.23% 0.0589 -0.1191)
OKLCHoklch(62.23% 0.133 296.3)
XYZxyz(28.5898, 22.7378, 60.6284)
Luminance0.2274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F74CD #B2CD74
analogous
#7485CD #8F74CD #BB74CD
triadic
#8F74CD #CD8F74 #74CD8F
tetradic
#8F74CD #CD7485 #B2CD74 #74CDBB
square
#8F74CD #CD7485 #B2CD74 #74CDBB
split-complementary
#8F74CD #CDBB74 #85CD74
monochromatic
#513592 #6B47BD #8F74CD #B3A1DD #D8CEED

Accessibility & contrast

On white

3.79
#8F74CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#8F74CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F74CD
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F74CD#FFFFFF#000000##000000
##8F74CD1.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5984D0
Deuteranopia (green-blind)
#5E82CB
Tritanopia (blue-blind)
#828497
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8f74cd;
/* rgb */ color: rgb(143, 116, 205);
/* oklch */ color: oklch(62.2% 0.133 296.3);
Tailwind
colors: {
  custom: {
    50: '#b29cdc',
    500: '#8f74cd',
    950: '#000000',
  },
}
SCSS
$custom: #8f74cd;
$custom-light: #b29cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f74cd",
  "rgb": {
    "r": 143,
    "g": 116,
    "b": 205
  },
  "hsl": {
    "h": 258.202,
    "s": 47.09,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62234,
    "c": 0.13284,
    "h": 296.3
  },
  "luminance": 0.22738
}

Semantic roles & 50–950 ramp

primary
#8F74CD
secondary
#D5DEBE
accent
#BA2B8F
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8F74CD

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

Preview Lab → · Contrast checker → · Palette generator →

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