#8F74CA#8F74CA

#8F74CA is a light, vivid violet. Relative luminance 0.226; OKLCH L 62.1% C 0.129 H 297.0°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8F74CA
RGBrgb(143, 116, 202)
HSLhsl(259, 45%, 62%)
HSVhsv(259, 43%, 79%)
CMYKcmyk(29.2%, 42.6%, 0%, 20.8%)
CIE-LABlab(54.65, 29.07, -41.00)
CIE-LCHlch(54.65, 50.26, 305.34°)
OKLaboklab(62.07% 0.0584 -0.1148)
OKLCHoklch(62.07% 0.129 297)
XYZxyz(28.2312, 22.5944, 58.7395)
Luminance0.2260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F74CA #AFCA74
analogous
#7484CA #8F74CA #BA74CA
triadic
#8F74CA #CA8F74 #74CA8F
tetradic
#8F74CA #CA7484 #AFCA74 #74CABA
square
#8F74CA #CA7484 #AFCA74 #74CABA
split-complementary
#8F74CA #CABA74 #84CA74
monochromatic
#51368E #6B48B9 #8F74CA #B3A0DB #D6CDEC

Accessibility & contrast

On white

3.81
#8F74CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#8F74CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F74CA
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F74CA#FFFFFF#000000##000000
##8F74CA1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B83CD
Deuteranopia (green-blind)
#6082C8
Tritanopia (blue-blind)
#838395
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8f74ca;
/* rgb */ color: rgb(143, 116, 202);
/* oklch */ color: oklch(62.1% 0.129 297.0);
Tailwind
colors: {
  custom: {
    50: '#b29cda',
    500: '#8f74ca',
    950: '#000000',
  },
}
SCSS
$custom: #8f74ca;
$custom-light: #b29cda;
$custom-dark: #000000;
JSON
{
  "hex": "#8f74ca",
  "rgb": {
    "r": 143,
    "g": 116,
    "b": 202
  },
  "hsl": {
    "h": 258.837,
    "s": 44.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.62073,
    "c": 0.12879,
    "h": 297
  },
  "luminance": 0.22595
}

Semantic roles & 50–950 ramp

primary
#8F74CA
secondary
#D3DDBD
accent
#B82E8D
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8F74CA

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

Preview Lab → · Contrast checker → · Palette generator →

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