#8A7DFF#8A7DFF

#8A7DFF is a light, vivid blue. Relative luminance 0.273; OKLCH L 66.4% C 0.186 H 284.6°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#8A7DFF
RGBrgb(138, 125, 255)
HSLhsl(246, 100%, 75%)
HSVhsv(246, 51%, 100%)
CMYKcmyk(45.9%, 51%, 0%, 0%)
CIE-LABlab(59.24, 36.98, -63.35)
CIE-LCHlch(59.24, 73.36, 300.27°)
OKLaboklab(66.35% 0.0471 -0.1803)
OKLCHoklch(66.35% 0.186 284.6)
XYZxyz(35.8595, 27.2889, 97.9662)
Luminance0.2729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7DFF #F2FF7D
analogous
#7DB1FF #8A7DFF #CB7DFF
triadic
#8A7DFF #FF8A7D #7DFF8A
tetradic
#8A7DFF #FF7DB1 #F2FF7D #7DFFCB
square
#8A7DFF #FF7DB1 #F2FF7D #7DFFCB
split-complementary
#8A7DFF #FFCB7D #B1FF7D
monochromatic
#1C03FF #5340FF #8A7DFF #C1BAFF #E3E0FF

Accessibility & contrast

On white

3.25
#8A7DFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#8A7DFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7DFF
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7DFF#FFFFFF#000000##000000
##8A7DFF1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F92FF
Deuteranopia (green-blind)
#3A8BFC
Tritanopia (blue-blind)
#6399B2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a7dff;
/* rgb */ color: rgb(138, 125, 255);
/* oklch */ color: oklch(66.4% 0.186 284.6);
Tailwind
colors: {
  custom: {
    50: '#b3a3ff',
    500: '#8a7dff',
    950: '#000000',
  },
}
SCSS
$custom: #8a7dff;
$custom-light: #b3a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7dff",
  "rgb": {
    "r": 138,
    "g": 125,
    "b": 255
  },
  "hsl": {
    "h": 246,
    "s": 100,
    "l": 74.51
  },
  "oklch": {
    "l": 0.66352,
    "c": 0.18637,
    "h": 284.6
  },
  "luminance": 0.27291
}

Semantic roles & 50–950 ramp

primary
#8A7DFF
secondary
#F4F7D4
accent
#E600CF
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F18
muted
#807F86

Preview Lab

Preview with #8A7DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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