#8A7CFF#8A7CFF

#8A7CFF is a light, vivid blue. Relative luminance 0.270; OKLCH L 66.2% C 0.188 H 284.9°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#8A7CFF
RGBrgb(138, 124, 255)
HSLhsl(246, 100%, 74%)
HSVhsv(246, 51%, 100%)
CMYKcmyk(45.9%, 51.4%, 0%, 0%)
CIE-LABlab(59.01, 37.56, -63.73)
CIE-LCHlch(59.01, 73.97, 300.51°)
OKLaboklab(66.18% 0.0483 -0.1814)
OKLCHoklch(66.18% 0.188 284.9)
XYZxyz(35.7336, 27.0370, 97.9242)
Luminance0.2704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7CFF #F1FF7C
analogous
#7CB0FF #8A7CFF #CC7CFF
triadic
#8A7CFF #FF8A7C #7CFF8A
tetradic
#8A7CFF #FF7CB0 #F1FF7C #7CFFCC
square
#8A7CFF #FF7CB0 #F1FF7C #7CFFCC
split-complementary
#8A7CFF #FFCC7C #B0FF7C
monochromatic
#1D02FF #533FFF #8A7CFF #C1B9FF #E4E0FF

Accessibility & contrast

On white

3.28
#8A7CFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#8A7CFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7CFF
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7CFF#FFFFFF#000000##000000
##8A7CFF1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D92FF
Deuteranopia (green-blind)
#378AFC
Tritanopia (blue-blind)
#6398B2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a7cff;
/* rgb */ color: rgb(138, 124, 255);
/* oklch */ color: oklch(66.2% 0.188 284.9);
Tailwind
colors: {
  custom: {
    50: '#b3a2ff',
    500: '#8a7cff',
    950: '#000000',
  },
}
SCSS
$custom: #8a7cff;
$custom-light: #b3a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7cff",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 255
  },
  "hsl": {
    "h": 246.412,
    "s": 100,
    "l": 74.314
  },
  "oklch": {
    "l": 0.66179,
    "c": 0.18773,
    "h": 284.9
  },
  "luminance": 0.27039
}

Semantic roles & 50–950 ramp

primary
#8A7CFF
secondary
#F4F7D4
accent
#E600CD
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#120F18
muted
#817F86

Preview Lab

Preview with #8A7CFF

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

Preview Lab → · Contrast checker → · Palette generator →

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