#8A7CFD#8A7CFD

#8A7CFD is a light, vivid blue. Relative luminance 0.269; OKLCH L 66.1% C 0.185 H 285.1°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#8A7CFD
RGBrgb(138, 124, 253)
HSLhsl(247, 97%, 74%)
HSVhsv(247, 51%, 99%)
CMYKcmyk(45.5%, 51%, 0%, 0.8%)
CIE-LABlab(58.89, 36.99, -62.82)
CIE-LCHlch(58.89, 72.90, 300.49°)
OKLaboklab(66.05% 0.0481 -0.1787)
OKLCHoklch(66.05% 0.185 285.1)
XYZxyz(35.4133, 26.9089, 96.2374)
Luminance0.2691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7CFD #EFFD7C
analogous
#7CAFFD #8A7CFD #CB7CFD
triadic
#8A7CFD #FD8A7C #7CFD8A
tetradic
#8A7CFD #FD7CAF #EFFD7C #7CFDCB
square
#8A7CFD #FD7CAF #EFFD7C #7CFDCB
split-complementary
#8A7CFD #FDCB7C #AFFD7C
monochromatic
#1F04FB #5440FC #8A7CFD #C0B8FE #E4E1FF

Accessibility & contrast

On white

3.29
#8A7CFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#8A7CFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7CFD
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7CFD#FFFFFF#000000##000000
##8A7CFD1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F91FF
Deuteranopia (green-blind)
#3A8AFA
Tritanopia (blue-blind)
#6498B1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a7cfd;
/* rgb */ color: rgb(138, 124, 253);
/* oklch */ color: oklch(66.1% 0.185 285.1);
Tailwind
colors: {
  custom: {
    50: '#b2a2ff',
    500: '#8a7cfd',
    950: '#000000',
  },
}
SCSS
$custom: #8a7cfd;
$custom-light: #b2a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7cfd",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 253
  },
  "hsl": {
    "h": 246.512,
    "s": 96.992,
    "l": 73.922
  },
  "oklch": {
    "l": 0.66052,
    "c": 0.18512,
    "h": 285.1
  },
  "luminance": 0.2691
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A7CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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