#8A7BFC#8A7BFC

#8A7BFC is a light, vivid blue. Relative luminance 0.266; OKLCH L 65.8% C 0.185 H 285.4°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#8A7BFC
RGBrgb(138, 123, 252)
HSLhsl(247, 96%, 74%)
HSVhsv(247, 51%, 99%)
CMYKcmyk(45.2%, 51.2%, 0%, 1.2%)
CIE-LABlab(58.60, 37.28, -62.73)
CIE-LCHlch(58.60, 72.97, 300.72°)
OKLaboklab(65.82% 0.0492 -0.1785)
OKLCHoklch(65.82% 0.185 285.4)
XYZxyz(35.1298, 26.5959, 95.3591)
Luminance0.2660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7BFC #EDFC7B
analogous
#7BACFC #8A7BFC #CA7BFC
triadic
#8A7BFC #FC8A7B #7BFC8A
tetradic
#8A7BFC #FC7BAC #EDFC7B #7BFCCA
square
#8A7BFC #FC7BAC #EDFC7B #7BFCCA
split-complementary
#8A7BFC #FCCA7B #ACFC7B
monochromatic
#2206F7 #553FFB #8A7BFC #BFB7FD #E4E1FE

Accessibility & contrast

On white

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

On black

6.32
#8A7BFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7BFC
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7BFC#FFFFFF#000000##000000
##8A7BFC1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E91FF
Deuteranopia (green-blind)
#3A89F9
Tritanopia (blue-blind)
#6597B0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8a7bfc;
/* rgb */ color: rgb(138, 123, 252);
/* oklch */ color: oklch(65.8% 0.185 285.4);
Tailwind
colors: {
  custom: {
    50: '#b2a1fe',
    500: '#8a7bfc',
    950: '#000000',
  },
}
SCSS
$custom: #8a7bfc;
$custom-light: #b2a1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7bfc",
  "rgb": {
    "r": 138,
    "g": 123,
    "b": 252
  },
  "hsl": {
    "h": 246.977,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.65815,
    "c": 0.18517,
    "h": 285.4
  },
  "luminance": 0.26597
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A7BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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