#8F7CEB#8F7CEB

#8F7CEB is a light, vivid violet. Relative luminance 0.263; OKLCH L 65.4% C 0.161 H 289.0°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#8F7CEB
RGBrgb(143, 124, 235)
HSLhsl(250, 74%, 70%)
HSVhsv(250, 47%, 92%)
CMYKcmyk(39.1%, 47.2%, 0%, 7.8%)
CIE-LABlab(58.28, 33.13, -53.81)
CIE-LCHlch(58.28, 63.19, 301.62°)
OKLaboklab(65.36% 0.0525 -0.1522)
OKLCHoklch(65.36% 0.161 289)
XYZxyz(33.5266, 26.2521, 81.8818)
Luminance0.2625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7CEB #D8EB7C
analogous
#7CA0EB #8F7CEB #C67CEB
triadic
#8F7CEB #EB8F7C #7CEB8F
tetradic
#8F7CEB #EB7CA0 #D8EB7C #7CEBC6
square
#8F7CEB #EB7CA0 #D8EB7C #7CEBC6
split-complementary
#8F7CEB #EBC67C #A0EB7C
monochromatic
#3D1FCD #6247E3 #8F7CEB #BCB1F3 #E8E4FB

Accessibility & contrast

On white

3.36
#8F7CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#8F7CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7CEB
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7CEB#FFFFFF#000000##000000
##8F7CEB1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#528EEF
Deuteranopia (green-blind)
#5289E8
Tritanopia (blue-blind)
#7692A8
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8f7ceb;
/* rgb */ color: rgb(143, 124, 235);
/* oklch */ color: oklch(65.4% 0.161 289.0);
Tailwind
colors: {
  custom: {
    50: '#b4a2f2',
    500: '#8f7ceb',
    950: '#000000',
  },
}
SCSS
$custom: #8f7ceb;
$custom-light: #b4a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7ceb",
  "rgb": {
    "r": 143,
    "g": 124,
    "b": 235
  },
  "hsl": {
    "h": 250.27,
    "s": 73.51,
    "l": 70.392
  },
  "oklch": {
    "l": 0.65362,
    "c": 0.16099,
    "h": 289
  },
  "luminance": 0.26253
}

Semantic roles & 50–950 ramp

primary
#8F7CEB
secondary
#EBF1D2
accent
#D610B4
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F17
muted
#807F85

Preview Lab

Preview with #8F7CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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