#8F7AFA#8F7AFA

#8F7AFA is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.9% C 0.184 H 287.8°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#8F7AFA
RGBrgb(143, 122, 250)
HSLhsl(250, 93%, 73%)
HSVhsv(250, 51%, 98%)
CMYKcmyk(42.8%, 51.2%, 0%, 2%)
CIE-LABlab(58.66, 38.41, -61.51)
CIE-LCHlch(58.66, 72.52, 301.98°)
OKLaboklab(65.92% 0.0562 -0.1748)
OKLCHoklch(65.92% 0.184 287.8)
XYZxyz(35.5377, 26.6595, 93.6973)
Luminance0.2666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7AFA #E5FA7A
analogous
#7AA5FA #8F7AFA #CF7AFA
triadic
#8F7AFA #FA8F7A #7AFA8F
tetradic
#8F7AFA #FA7AA5 #E5FA7A #7AFACF
square
#8F7AFA #FA7AA5 #E5FA7A #7AFACF
split-complementary
#8F7AFA #FACF7A #A5FA7A
monochromatic
#2F09F1 #5D3FF8 #8F7AFA #C1B5FC #E6E2FE

Accessibility & contrast

On white

3.32
#8F7AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#8F7AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7AFA
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7AFA#FFFFFF#000000##000000
##8F7AFA1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4090FE
Deuteranopia (green-blind)
#3F8AF7
Tritanopia (blue-blind)
#6F95AF
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8f7afa;
/* rgb */ color: rgb(143, 122, 250);
/* oklch */ color: oklch(65.9% 0.184 287.8);
Tailwind
colors: {
  custom: {
    50: '#b5a1fd',
    500: '#8f7afa',
    950: '#000000',
  },
}
SCSS
$custom: #8f7afa;
$custom-light: #b5a1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7afa",
  "rgb": {
    "r": 143,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 249.844,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.65922,
    "c": 0.1836,
    "h": 287.8
  },
  "luminance": 0.26661
}

Semantic roles & 50–950 ramp

primary
#8F7AFA
secondary
#F1F6D5
accent
#E600C0
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120F18
muted
#817E86

Preview Lab

Preview with #8F7AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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