#8A7FFC#8A7FFC

#8A7FFC is a light, vivid blue. Relative luminance 0.276; OKLCH L 66.5% C 0.180 H 284.4°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#8A7FFC
RGBrgb(138, 127, 252)
HSLhsl(245, 95%, 74%)
HSVhsv(245, 50%, 99%)
CMYKcmyk(45.2%, 49.6%, 0%, 1.2%)
CIE-LABlab(59.53, 34.96, -61.23)
CIE-LCHlch(59.53, 70.51, 299.73°)
OKLaboklab(66.52% 0.0446 -0.1741)
OKLCHoklch(66.52% 0.18 284.4)
XYZxyz(35.6361, 27.6087, 95.5279)
Luminance0.2761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7FFC #F1FC7F
analogous
#7FB3FC #8A7FFC #C97FFC
triadic
#8A7FFC #FC8A7F #7FFC8A
tetradic
#8A7FFC #FC7FB3 #F1FC7F #7FFCC9
square
#8A7FFC #FC7FB3 #F1FC7F #7FFCC9
split-complementary
#8A7FFC #FCC97F #B3FC7F
monochromatic
#1D07F9 #5343FB #8A7FFC #C1BBFD #E4E1FE

Accessibility & contrast

On white

3.22
#8A7FFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#8A7FFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7FFC
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7FFC#FFFFFF#000000##000000
##8A7FFC1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4793FF
Deuteranopia (green-blind)
#428BF9
Tritanopia (blue-blind)
#649AB2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a7ffc;
/* rgb */ color: rgb(138, 127, 252);
/* oklch */ color: oklch(66.5% 0.180 284.4);
Tailwind
colors: {
  custom: {
    50: '#b2a4fe',
    500: '#8a7ffc',
    950: '#000000',
  },
}
SCSS
$custom: #8a7ffc;
$custom-light: #b2a4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7ffc",
  "rgb": {
    "r": 138,
    "g": 127,
    "b": 252
  },
  "hsl": {
    "h": 245.28,
    "s": 95.42,
    "l": 74.314
  },
  "oklch": {
    "l": 0.66515,
    "c": 0.17972,
    "h": 284.4
  },
  "luminance": 0.2761
}

Semantic roles & 50–950 ramp

primary
#8A7FFC
secondary
#F4F7D4
accent
#E600D1
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F18
muted
#807F86

Preview Lab

Preview with #8A7FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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