#8F77DF#8F77DF

#8F77DF is a light, vivid violet. Relative luminance 0.244; OKLCH L 63.8% C 0.152 H 292.1°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8F77DF
RGBrgb(143, 119, 223)
HSLhsl(254, 62%, 67%)
HSVhsv(254, 47%, 87%)
CMYKcmyk(35.9%, 46.6%, 0%, 12.5%)
CIE-LABlab(56.45, 32.79, -50.02)
CIE-LCHlch(56.45, 59.81, 303.25°)
OKLaboklab(63.78% 0.0574 -0.1411)
OKLCHoklch(63.78% 0.152 292.1)
XYZxyz(31.2403, 24.3603, 72.8538)
Luminance0.2436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F77DF #C7DF77
analogous
#7793DF #8F77DF #C377DF
triadic
#8F77DF #DF8F77 #77DF8F
tetradic
#8F77DF #DF7793 #C7DF77 #77DFC3
square
#8F77DF #DF7793 #C7DF77 #77DFC3
split-complementary
#8F77DF #DFC377 #93DF77
monochromatic
#492AB2 #6645D3 #8F77DF #B8A9EB #E1DAF6

Accessibility & contrast

On white

3.58
#8F77DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#8F77DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F77DF
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F77DF#FFFFFF#000000##000000
##8F77DF1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5289E3
Deuteranopia (green-blind)
#5585DD
Tritanopia (blue-blind)
#7B8BA0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8f77df;
/* rgb */ color: rgb(143, 119, 223);
/* oklch */ color: oklch(63.8% 0.152 292.1);
Tailwind
colors: {
  custom: {
    50: '#b39ee9',
    500: '#8f77df',
    950: '#000000',
  },
}
SCSS
$custom: #8f77df;
$custom-light: #b39ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f77df",
  "rgb": {
    "r": 143,
    "g": 119,
    "b": 223
  },
  "hsl": {
    "h": 253.846,
    "s": 61.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.63777,
    "c": 0.15234,
    "h": 292.1
  },
  "luminance": 0.24361
}

Semantic roles & 50–950 ramp

primary
#8F77DF
secondary
#E2E9C8
accent
#CA1CA2
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8F77DF

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

Preview Lab → · Contrast checker → · Palette generator →

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