#8F68DB#8F68DB

#8F68DB is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.0% C 0.170 H 296.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8F68DB
RGBrgb(143, 104, 219)
HSLhsl(260, 61%, 63%)
HSVhsv(260, 53%, 86%)
CMYKcmyk(34.7%, 52.5%, 0%, 14.1%)
CIE-LABlab(52.79, 40.34, -53.60)
CIE-LCHlch(52.79, 67.08, 306.96°)
OKLaboklab(60.97% 0.0763 -0.1516)
OKLCHoklch(60.97% 0.17 296.7)
XYZxyz(29.0610, 20.8543, 69.4983)
Luminance0.2086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F68DB #B4DB68
analogous
#687ADB #8F68DB #C868DB
triadic
#8F68DB #DB8F68 #68DB8F
tetradic
#8F68DB #DB687A #B4DB68 #68DBC8
square
#8F68DB #DB687A #B4DB68 #68DBC8
split-complementary
#8F68DB #DBC868 #7ADB68
monochromatic
#5027A2 #6A37CF #8F68DB #B499E7 #D8CBF3

Accessibility & contrast

On white

4.06
#8F68DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#8F68DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F68DB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F68DB#FFFFFF#000000##000000
##8F68DB1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7FDF
Deuteranopia (green-blind)
#447DD8
Tritanopia (blue-blind)
#7E7F98
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8f68db;
/* rgb */ color: rgb(143, 104, 219);
/* oklch */ color: oklch(61.0% 0.170 296.7);
Tailwind
colors: {
  custom: {
    50: '#b394e7',
    500: '#8f68db',
    950: '#000000',
  },
}
SCSS
$custom: #8f68db;
$custom-light: #b394e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f68db",
  "rgb": {
    "r": 143,
    "g": 104,
    "b": 219
  },
  "hsl": {
    "h": 260.348,
    "s": 61.497,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60974,
    "c": 0.1697,
    "h": 296.7
  },
  "luminance": 0.20855
}

Semantic roles & 50–950 ramp

primary
#8F68DB
secondary
#D6E4BB
accent
#C91C8F
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8F68DB

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

Preview Lab → · Contrast checker → · Palette generator →

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