#8A7BE1#8A7BE1

#8A7BE1 is a light, vivid blue. Relative luminance 0.250; OKLCH L 64.2% C 0.149 H 288.2°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8A7BE1
RGBrgb(138, 123, 225)
HSLhsl(249, 63%, 68%)
HSVhsv(249, 45%, 88%)
CMYKcmyk(38.7%, 45.3%, 0%, 11.8%)
CIE-LABlab(57.08, 29.73, -50.16)
CIE-LCHlch(57.08, 58.31, 300.66°)
OKLaboklab(64.18% 0.0466 -0.1416)
OKLCHoklch(64.18% 0.149 288.2)
XYZxyz(31.1511, 25.0045, 74.4046)
Luminance0.2500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7BE1 #D2E17B
analogous
#7B9FE1 #8A7BE1 #BD7BE1
triadic
#8A7BE1 #E18A7B #7BE18A
tetradic
#8A7BE1 #E17B9F #D2E17B #7BE1BD
square
#8A7BE1 #E17B9F #D2E17B #7BE1BD
split-complementary
#8A7BE1 #E1BD7B #9FE17B
monochromatic
#3F2AB8 #5E49D6 #8A7BE1 #B6ADEC #E2DFF8

Accessibility & contrast

On white

3.50
#8A7BE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#8A7BE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7BE1
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7BE1#FFFFFF#000000##000000
##8A7BE11.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#568BE5
Deuteranopia (green-blind)
#5686DF
Tritanopia (blue-blind)
#728FA3
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a7be1;
/* rgb */ color: rgb(138, 123, 225);
/* oklch */ color: oklch(64.2% 0.149 288.2);
Tailwind
colors: {
  custom: {
    50: '#b0a1eb',
    500: '#8a7be1',
    950: '#000000',
  },
}
SCSS
$custom: #8a7be1;
$custom-light: #b0a1eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7be1",
  "rgb": {
    "r": 138,
    "g": 123,
    "b": 225
  },
  "hsl": {
    "h": 248.824,
    "s": 62.963,
    "l": 68.235
  },
  "oklch": {
    "l": 0.64184,
    "c": 0.1491,
    "h": 288.2
  },
  "luminance": 0.25005
}

Semantic roles & 50–950 ramp

primary
#8A7BE1
secondary
#E7EBCC
accent
#CB1BB1
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F16
muted
#807E84

Preview Lab

Preview with #8A7BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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