#8F74DB#8F74DB

#8F74DB is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.0% C 0.152 H 293.7°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8F74DB
RGBrgb(143, 116, 219)
HSLhsl(256, 59%, 66%)
HSVhsv(256, 47%, 86%)
CMYKcmyk(34.7%, 47%, 0%, 14.1%)
CIE-LABlab(55.53, 33.47, -49.23)
CIE-LCHlch(55.53, 59.53, 304.21°)
OKLaboklab(63.02% 0.0608 -0.1388)
OKLCHoklch(63.02% 0.152 293.7)
XYZxyz(30.3560, 23.4443, 69.9300)
Luminance0.2344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F74DB #C0DB74
analogous
#748CDB #8F74DB #C274DB
triadic
#8F74DB #DB8F74 #74DB8F
tetradic
#8F74DB #DB748C #C0DB74 #74DBC2
square
#8F74DB #DB748C #C0DB74 #74DBC2
split-complementary
#8F74DB #DBC274 #8CDB74
monochromatic
#4D2CA9 #6843CE #8F74DB #B6A5E8 #DDD5F4

Accessibility & contrast

On white

3.69
#8F74DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#8F74DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F74DB
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F74DB#FFFFFF#000000##000000
##8F74DB1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5086DF
Deuteranopia (green-blind)
#5483D9
Tritanopia (blue-blind)
#7D889D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8f74db;
/* rgb */ color: rgb(143, 116, 219);
/* oklch */ color: oklch(63.0% 0.152 293.7);
Tailwind
colors: {
  custom: {
    50: '#b39ce7',
    500: '#8f74db',
    950: '#000000',
  },
}
SCSS
$custom: #8f74db;
$custom-light: #b39ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f74db",
  "rgb": {
    "r": 143,
    "g": 116,
    "b": 219
  },
  "hsl": {
    "h": 255.728,
    "s": 58.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.63016,
    "c": 0.15156,
    "h": 293.7
  },
  "luminance": 0.23445
}

Semantic roles & 50–950 ramp

primary
#8F74DB
secondary
#DEE7C4
accent
#C61F9B
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8F74DB

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

Preview Lab → · Contrast checker → · Palette generator →

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