#8A7CFA#8A7CFA

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

Color values

HEX#8A7CFA
RGBrgb(138, 124, 250)
HSLhsl(247, 93%, 73%)
HSVhsv(247, 50%, 98%)
CMYKcmyk(44.8%, 50.4%, 0%, 2%)
CIE-LABlab(58.71, 36.13, -61.45)
CIE-LCHlch(58.71, 71.28, 300.46°)
OKLaboklab(65.86% 0.0479 -0.1747)
OKLCHoklch(65.86% 0.181 285.3)
XYZxyz(34.9392, 26.7192, 93.7403)
Luminance0.2672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7CFA #ECFA7C
analogous
#7CADFA #8A7CFA #C97CFA
triadic
#8A7CFA #FA8A7C #7CFA8A
tetradic
#8A7CFA #FA7CAD #ECFA7C #7CFAC9
square
#8A7CFA #FA7CAD #ECFA7C #7CFAC9
split-complementary
#8A7CFA #FAC97C #ADFA7C
monochromatic
#2309F2 #5541F8 #8A7CFA #BFB7FC #E5E2FE

Accessibility & contrast

On white

3.31
#8A7CFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#8A7CFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7CFA
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7CFA#FFFFFF#000000##000000
##8A7CFA1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4291FE
Deuteranopia (green-blind)
#3E89F7
Tritanopia (blue-blind)
#6697AF
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8a7cfa;
/* rgb */ color: rgb(138, 124, 250);
/* oklch */ color: oklch(65.9% 0.181 285.3);
Tailwind
colors: {
  custom: {
    50: '#b2a2fd',
    500: '#8a7cfa',
    950: '#000000',
  },
}
SCSS
$custom: #8a7cfa;
$custom-light: #b2a2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7cfa",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 250
  },
  "hsl": {
    "h": 246.667,
    "s": 92.647,
    "l": 73.333
  },
  "oklch": {
    "l": 0.65863,
    "c": 0.18117,
    "h": 285.3
  },
  "luminance": 0.26721
}

Semantic roles & 50–950 ramp

primary
#8A7CFA
secondary
#F2F6D5
accent
#E600CC
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F18
muted
#807F86

Preview Lab

Preview with #8A7CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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