#8F68EB#8F68EB

#8F68EB is a mid, vivid violet. Relative luminance 0.217; OKLCH L 62.0% C 0.190 H 293.9°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8F68EB
RGBrgb(143, 104, 235)
HSLhsl(258, 77%, 66%)
HSVhsv(258, 56%, 92%)
CMYKcmyk(39.1%, 55.7%, 0%, 7.8%)
CIE-LABlab(53.75, 44.53, -61.06)
CIE-LCHlch(53.75, 75.58, 306.10°)
OKLaboklab(61.99% 0.0768 -0.1735)
OKLCHoklch(61.99% 0.19 293.9)
XYZxyz(31.2694, 21.7377, 81.1295)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F68EB #C4EB68
analogous
#6883EB #8F68EB #D168EB
triadic
#8F68EB #EB8F68 #68EB8F
tetradic
#8F68EB #EB6883 #C4EB68 #68EBD1
square
#8F68EB #EB6883 #C4EB68 #68EBD1
split-complementary
#8F68EB #EBD168 #83EB68
monochromatic
#4B19BF #6732E4 #8F68EB #B79EF2 #DFD4F9

Accessibility & contrast

On white

3.93
#8F68EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#8F68EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F68EB
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F68EB#FFFFFF#000000##000000
##8F68EB1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2482EF
Deuteranopia (green-blind)
#317EE8
Tritanopia (blue-blind)
#7784A0
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8f68eb;
/* rgb */ color: rgb(143, 104, 235);
/* oklch */ color: oklch(62.0% 0.190 293.9);
Tailwind
colors: {
  custom: {
    50: '#b594f2',
    500: '#8f68eb',
    950: '#000000',
  },
}
SCSS
$custom: #8f68eb;
$custom-light: #b594f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f68eb",
  "rgb": {
    "r": 143,
    "g": 104,
    "b": 235
  },
  "hsl": {
    "h": 257.863,
    "s": 76.608,
    "l": 66.471
  },
  "oklch": {
    "l": 0.6199,
    "c": 0.18973,
    "h": 293.9
  },
  "luminance": 0.21738
}

Semantic roles & 50–950 ramp

primary
#8F68EB
secondary
#E0EDC2
accent
#D90D9C
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #8F68EB

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

Preview Lab → · Contrast checker → · Palette generator →

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