#8F7BEE#8F7BEE

#8F7BEE is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.4% C 0.166 H 288.9°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#8F7BEE
RGBrgb(143, 123, 238)
HSLhsl(250, 77%, 71%)
HSVhsv(250, 48%, 93%)
CMYKcmyk(39.9%, 48.3%, 0%, 6.7%)
CIE-LABlab(58.21, 34.53, -55.59)
CIE-LCHlch(58.21, 65.44, 301.84°)
OKLaboklab(65.36% 0.054 -0.1574)
OKLCHoklch(65.36% 0.166 288.9)
XYZxyz(33.8390, 26.1775, 84.1422)
Luminance0.2618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7BEE #DAEE7B
analogous
#7BA0EE #8F7BEE #C87BEE
triadic
#8F7BEE #EE8F7B #7BEE8F
tetradic
#8F7BEE #EE7BA0 #DAEE7B #7BEEC8
square
#8F7BEE #EE7BA0 #DAEE7B #7BEEC8
split-complementary
#8F7BEE #EEC87B #A0EE7B
monochromatic
#3B1BD3 #6145E7 #8F7BEE #BDB1F5 #E8E4FC

Accessibility & contrast

On white

3.37
#8F7BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#8F7BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7BEE
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7BEE#FFFFFF#000000##000000
##8F7BEE1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8EF2
Deuteranopia (green-blind)
#4E89EB
Tritanopia (blue-blind)
#7592A9
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8f7bee;
/* rgb */ color: rgb(143, 123, 238);
/* oklch */ color: oklch(65.4% 0.166 288.9);
Tailwind
colors: {
  custom: {
    50: '#b4a1f4',
    500: '#8f7bee',
    950: '#000000',
  },
}
SCSS
$custom: #8f7bee;
$custom-light: #b4a1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7bee",
  "rgb": {
    "r": 143,
    "g": 123,
    "b": 238
  },
  "hsl": {
    "h": 250.435,
    "s": 77.181,
    "l": 70.784
  },
  "oklch": {
    "l": 0.65362,
    "c": 0.16643,
    "h": 288.9
  },
  "luminance": 0.26179
}

Semantic roles & 50–950 ramp

primary
#8F7BEE
secondary
#ECF2D3
accent
#D90CB6
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F17
muted
#807E85

Preview Lab

Preview with #8F7BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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