#8A7BED#8A7BED

#8A7BED is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.9% C 0.165 H 286.9°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#8A7BED
RGBrgb(138, 123, 237)
HSLhsl(248, 76%, 71%)
HSVhsv(248, 48%, 93%)
CMYKcmyk(41.8%, 48.1%, 0%, 7.1%)
CIE-LABlab(57.73, 33.05, -55.81)
CIE-LCHlch(57.73, 64.87, 300.63°)
OKLaboklab(64.89% 0.048 -0.1582)
OKLCHoklch(64.89% 0.165 286.9)
XYZxyz(32.8459, 25.6824, 83.3309)
Luminance0.2568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7BED #DEED7B
analogous
#7BA5ED #8A7BED #C37BED
triadic
#8A7BED #ED8A7B #7BED8A
tetradic
#8A7BED #ED7BA5 #DEED7B #7BEDC3
square
#8A7BED #ED7BA5 #DEED7B #7BEDC3
split-complementary
#8A7BED #EDC37B #A5ED7B
monochromatic
#341DD1 #5A45E6 #8A7BED #BAB1F4 #E7E4FB

Accessibility & contrast

On white

3.42
#8A7BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#8A7BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7BED
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7BED#FFFFFF#000000##000000
##8A7BED1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8EF1
Deuteranopia (green-blind)
#4B88EA
Tritanopia (blue-blind)
#6D92A9
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8a7bed;
/* rgb */ color: rgb(138, 123, 237);
/* oklch */ color: oklch(64.9% 0.165 286.9);
Tailwind
colors: {
  custom: {
    50: '#b1a1f3',
    500: '#8a7bed',
    950: '#000000',
  },
}
SCSS
$custom: #8a7bed;
$custom-light: #b1a1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7bed",
  "rgb": {
    "r": 138,
    "g": 123,
    "b": 237
  },
  "hsl": {
    "h": 247.895,
    "s": 76,
    "l": 70.588
  },
  "oklch": {
    "l": 0.64889,
    "c": 0.16532,
    "h": 286.9
  },
  "luminance": 0.25684
}

Semantic roles & 50–950 ramp

primary
#8A7BED
secondary
#EDF1D2
accent
#D80DBD
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F17
muted
#807E85

Preview Lab

Preview with #8A7BED

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

Preview Lab → · Contrast checker → · Palette generator →

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