#8A7BFA#8A7BFA

#8A7BFA is a light, vivid blue. Relative luminance 0.265; OKLCH L 65.7% C 0.183 H 285.6°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#8A7BFA
RGBrgb(138, 123, 250)
HSLhsl(247, 93%, 73%)
HSVhsv(247, 51%, 98%)
CMYKcmyk(44.8%, 50.8%, 0%, 2%)
CIE-LABlab(58.48, 36.71, -61.82)
CIE-LCHlch(58.48, 71.90, 300.70°)
OKLaboklab(65.69% 0.0491 -0.1758)
OKLCHoklch(65.69% 0.183 285.6)
XYZxyz(34.8145, 26.4698, 93.6987)
Luminance0.2647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7BFA #EBFA7B
analogous
#7BABFA #8A7BFA #CA7BFA
triadic
#8A7BFA #FA8A7B #7BFA8A
tetradic
#8A7BFA #FA7BAB #EBFA7B #7BFACA
square
#8A7BFA #FA7BAB #EBFA7B #7BFACA
split-complementary
#8A7BFA #FACA7B #ABFA7B
monochromatic
#2509F1 #5640F8 #8A7BFA #BEB6FC #E5E2FE

Accessibility & contrast

On white

3.34
#8A7BFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#8A7BFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7BFA
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7BFA#FFFFFF#000000##000000
##8A7BFA1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4090FE
Deuteranopia (green-blind)
#3C89F7
Tritanopia (blue-blind)
#6696AF
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8a7bfa;
/* rgb */ color: rgb(138, 123, 250);
/* oklch */ color: oklch(65.7% 0.183 285.6);
Tailwind
colors: {
  custom: {
    50: '#b2a1fd',
    500: '#8a7bfa',
    950: '#000000',
  },
}
SCSS
$custom: #8a7bfa;
$custom-light: #b2a1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7bfa",
  "rgb": {
    "r": 138,
    "g": 123,
    "b": 250
  },
  "hsl": {
    "h": 247.087,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.65689,
    "c": 0.18255,
    "h": 285.6
  },
  "luminance": 0.26471
}

Semantic roles & 50–950 ramp

primary
#8A7BFA
secondary
#F2F6D5
accent
#E600CA
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F18
muted
#807E86

Preview Lab

Preview with #8A7BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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