#8F7BDD#8F7BDD

#8F7BDD is a light, vivid violet. Relative luminance 0.252; OKLCH L 64.4% C 0.144 H 291.2°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#8F7BDD
RGBrgb(143, 123, 221)
HSLhsl(252, 59%, 67%)
HSVhsv(252, 44%, 87%)
CMYKcmyk(35.3%, 44.3%, 0%, 13.3%)
CIE-LABlab(57.29, 29.94, -47.55)
CIE-LCHlch(57.29, 56.19, 302.19°)
OKLaboklab(64.38% 0.052 -0.1339)
OKLCHoklch(64.38% 0.144 291.2)
XYZxyz(31.4584, 25.2253, 71.6041)
Luminance0.2523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7BDD #C9DD7B
analogous
#7B98DD #8F7BDD #C07BDD
triadic
#8F7BDD #DD8F7B #7BDD8F
tetradic
#8F7BDD #DD7B98 #C9DD7B #7BDDC0
square
#8F7BDD #DD7B98 #C9DD7B #7BDDC0
split-complementary
#8F7BDD #DDC07B #98DD7B
monochromatic
#482DB0 #664AD0 #8F7BDD #B8ACEA #E2DCF6

Accessibility & contrast

On white

3.47
#8F7BDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#8F7BDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7BDD
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7BDD#FFFFFF#000000##000000
##8F7BDD1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8BE1
Deuteranopia (green-blind)
#5C88DB
Tritanopia (blue-blind)
#7C8EA1
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8f7bdd;
/* rgb */ color: rgb(143, 123, 221);
/* oklch */ color: oklch(64.4% 0.144 291.2);
Tailwind
colors: {
  custom: {
    50: '#b3a1e8',
    500: '#8f7bdd',
    950: '#000000',
  },
}
SCSS
$custom: #8f7bdd;
$custom-light: #b3a1e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7bdd",
  "rgb": {
    "r": 143,
    "g": 123,
    "b": 221
  },
  "hsl": {
    "h": 252.245,
    "s": 59.036,
    "l": 67.451
  },
  "oklch": {
    "l": 0.64381,
    "c": 0.14362,
    "h": 291.2
  },
  "luminance": 0.25226
}

Semantic roles & 50–950 ramp

primary
#8F7BDD
secondary
#E3E9CB
accent
#C71FA4
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110F16
muted
#807E84

Preview Lab

Preview with #8F7BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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