#8A7BFD#8A7BFD

#8A7BFD is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.9% C 0.186 H 285.3°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#8A7BFD
RGBrgb(138, 123, 253)
HSLhsl(247, 97%, 74%)
HSVhsv(247, 51%, 99%)
CMYKcmyk(45.5%, 51.4%, 0%, 0.8%)
CIE-LABlab(58.66, 37.56, -63.19)
CIE-LCHlch(58.66, 73.51, 300.73°)
OKLaboklab(65.88% 0.0493 -0.1798)
OKLCHoklch(65.88% 0.186 285.3)
XYZxyz(35.2886, 26.6595, 96.1959)
Luminance0.2666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7BFD #EEFD7B
analogous
#7BADFD #8A7BFD #CB7BFD
triadic
#8A7BFD #FD8A7B #7BFD8A
tetradic
#8A7BFD #FD7BAD #EEFD7B #7BFDCB
square
#8A7BFD #FD7BAD #EEFD7B #7BFDCB
split-complementary
#8A7BFD #FDCB7B #ADFD7B
monochromatic
#2004FA #553FFC #8A7BFD #BFB7FE #E4E1FF

Accessibility & contrast

On white

3.32
#8A7BFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#8A7BFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7BFD
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7BFD#FFFFFF#000000##000000
##8A7BFD1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D91FF
Deuteranopia (green-blind)
#3889FA
Tritanopia (blue-blind)
#6497B0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8a7bfd;
/* rgb */ color: rgb(138, 123, 253);
/* oklch */ color: oklch(65.9% 0.186 285.3);
Tailwind
colors: {
  custom: {
    50: '#b2a1ff',
    500: '#8a7bfd',
    950: '#000000',
  },
}
SCSS
$custom: #8a7bfd;
$custom-light: #b2a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7bfd",
  "rgb": {
    "r": 138,
    "g": 123,
    "b": 253
  },
  "hsl": {
    "h": 246.923,
    "s": 97.015,
    "l": 73.725
  },
  "oklch": {
    "l": 0.65879,
    "c": 0.18648,
    "h": 285.3
  },
  "luminance": 0.26661
}

Semantic roles & 50–950 ramp

primary
#8A7BFD
secondary
#F3F7D4
accent
#E600CB
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F18
muted
#807E86

Preview Lab

Preview with #8A7BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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