#8A7CFE#8A7CFE

#8A7CFE is a light, vivid blue. Relative luminance 0.270; OKLCH L 66.1% C 0.186 H 285.0°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#8A7CFE
RGBrgb(138, 124, 254)
HSLhsl(246, 98%, 74%)
HSVhsv(246, 51%, 100%)
CMYKcmyk(45.7%, 51.2%, 0%, 0.4%)
CIE-LABlab(58.95, 37.27, -63.27)
CIE-LCHlch(58.95, 73.43, 300.50°)
OKLaboklab(66.11% 0.0482 -0.1801)
OKLCHoklch(66.11% 0.186 285)
XYZxyz(35.5730, 26.9727, 97.0786)
Luminance0.2697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7CFE #F0FE7C
analogous
#7CAFFE #8A7CFE #CB7CFE
triadic
#8A7CFE #FE8A7C #7CFE8A
tetradic
#8A7CFE #FE7CAF #F0FE7C #7CFECB
square
#8A7CFE #FE7CAF #F0FE7C #7CFECB
split-complementary
#8A7CFE #FECB7C #AFFE7C
monochromatic
#1E03FD #543FFE #8A7CFE #C0B9FE #E4E1FF

Accessibility & contrast

On white

3.28
#8A7CFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#8A7CFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7CFE
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7CFE#FFFFFF#000000##000000
##8A7CFE1.003.286.396.39
#FFFFFF3.281.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E92FF
Deuteranopia (green-blind)
#398AFB
Tritanopia (blue-blind)
#6498B1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a7cfe;
/* rgb */ color: rgb(138, 124, 254);
/* oklch */ color: oklch(66.1% 0.186 285.0);
Tailwind
colors: {
  custom: {
    50: '#b2a2ff',
    500: '#8a7cfe',
    950: '#000000',
  },
}
SCSS
$custom: #8a7cfe;
$custom-light: #b2a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7cfe",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 254
  },
  "hsl": {
    "h": 246.462,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.66115,
    "c": 0.18643,
    "h": 285
  },
  "luminance": 0.26974
}

Semantic roles & 50–950 ramp

primary
#8A7CFE
secondary
#F3F7D4
accent
#E600CD
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F18
muted
#807F86

Preview Lab

Preview with #8A7CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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