#8F7EFA#8F7EFA

#8F7EFA is a light, vivid blue. Relative luminance 0.277; OKLCH L 66.6% C 0.178 H 286.8°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#8F7EFA
RGBrgb(143, 126, 250)
HSLhsl(248, 93%, 74%)
HSVhsv(248, 50%, 98%)
CMYKcmyk(42.8%, 49.6%, 0%, 2%)
CIE-LABlab(59.58, 36.11, -60.03)
CIE-LCHlch(59.58, 70.05, 301.03°)
OKLaboklab(66.61% 0.0515 -0.1704)
OKLCHoklch(66.61% 0.178 286.8)
XYZxyz(36.0389, 27.6621, 93.8644)
Luminance0.2766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7EFA #E9FA7E
analogous
#7EABFA #8F7EFA #CD7EFA
triadic
#8F7EFA #FA8F7E #7EFA8F
tetradic
#8F7EFA #FA7EAB #E9FA7E #7EFACD
square
#8F7EFA #FA7EAB #E9FA7E #7EFACD
split-complementary
#8F7EFA #FACD7E #ABFA7E
monochromatic
#2A09F4 #5C43F8 #8F7EFA #C2B9FC #E5E2FE

Accessibility & contrast

On white

3.21
#8F7EFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#8F7EFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7EFA
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7EFA#FFFFFF#000000##000000
##8F7EFA1.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4893FE
Deuteranopia (green-blind)
#478CF7
Tritanopia (blue-blind)
#6F98B0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8f7efa;
/* rgb */ color: rgb(143, 126, 250);
/* oklch */ color: oklch(66.6% 0.178 286.8);
Tailwind
colors: {
  custom: {
    50: '#b5a3fd',
    500: '#8f7efa',
    950: '#000000',
  },
}
SCSS
$custom: #8f7efa;
$custom-light: #b5a3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7efa",
  "rgb": {
    "r": 143,
    "g": 126,
    "b": 250
  },
  "hsl": {
    "h": 248.226,
    "s": 92.537,
    "l": 73.725
  },
  "oklch": {
    "l": 0.66613,
    "c": 0.17803,
    "h": 286.8
  },
  "luminance": 0.27663
}

Semantic roles & 50–950 ramp

primary
#8F7EFA
secondary
#F1F6D5
accent
#E600C6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#120F18
muted
#817F86

Preview Lab

Preview with #8F7EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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