#8A7DFD#8A7DFD

#8A7DFD is a light, vivid blue. Relative luminance 0.272; OKLCH L 66.2% C 0.184 H 284.8°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#8A7DFD
RGBrgb(138, 125, 253)
HSLhsl(246, 97%, 74%)
HSVhsv(246, 51%, 99%)
CMYKcmyk(45.5%, 50.6%, 0%, 0.8%)
CIE-LABlab(59.12, 36.41, -62.44)
CIE-LCHlch(59.12, 72.28, 300.25°)
OKLaboklab(66.23% 0.047 -0.1776)
OKLCHoklch(66.23% 0.184 284.8)
XYZxyz(35.5393, 27.1608, 96.2794)
Luminance0.2716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7DFD #F0FD7D
analogous
#7DB0FD #8A7DFD #CA7DFD
triadic
#8A7DFD #FD8A7D #7DFD8A
tetradic
#8A7DFD #FD7DB0 #F0FD7D #7DFDCA
square
#8A7DFD #FD7DB0 #F0FD7D #7DFDCA
split-complementary
#8A7DFD #FDCA7D #B0FD7D
monochromatic
#1E04FB #5441FC #8A7DFD #C0B9FE #E4E1FF

Accessibility & contrast

On white

3.26
#8A7DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#8A7DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7DFD
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7DFD#FFFFFF#000000##000000
##8A7DFD1.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4192FF
Deuteranopia (green-blind)
#3D8AFA
Tritanopia (blue-blind)
#6498B1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a7dfd;
/* rgb */ color: rgb(138, 125, 253);
/* oklch */ color: oklch(66.2% 0.184 284.8);
Tailwind
colors: {
  custom: {
    50: '#b2a3ff',
    500: '#8a7dfd',
    950: '#000000',
  },
}
SCSS
$custom: #8a7dfd;
$custom-light: #b2a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7dfd",
  "rgb": {
    "r": 138,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 246.094,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.66226,
    "c": 0.18376,
    "h": 284.8
  },
  "luminance": 0.27162
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A7DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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