#8A7FFB#8A7FFB

#8A7FFB is a light, vivid blue. Relative luminance 0.275; OKLCH L 66.5% C 0.178 H 284.5°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#8A7FFB
RGBrgb(138, 127, 251)
HSLhsl(245, 94%, 74%)
HSVhsv(245, 49%, 98%)
CMYKcmyk(45%, 49.4%, 0%, 1.6%)
CIE-LABlab(59.48, 34.68, -60.78)
CIE-LCHlch(59.48, 69.97, 299.71°)
OKLaboklab(66.45% 0.0445 -0.1727)
OKLCHoklch(66.45% 0.178 284.5)
XYZxyz(35.4781, 27.5455, 94.6955)
Luminance0.2755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7FFB #F0FB7F
analogous
#7FB2FB #8A7FFB #C87FFB
triadic
#8A7FFB #FB8A7F #7FFB8A
tetradic
#8A7FFB #FB7FB2 #F0FB7F #7FFBC8
square
#8A7FFB #FB7FB2 #F0FB7F #7FFBC8
split-complementary
#8A7FFB #FBC87F #B2FB7F
monochromatic
#1E08F7 #5444F9 #8A7FFB #C0BAFD #E4E1FE

Accessibility & contrast

On white

3.23
#8A7FFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#8A7FFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7FFB
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7FFB#FFFFFF#000000##000000
##8A7FFB1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4893FF
Deuteranopia (green-blind)
#438BF8
Tritanopia (blue-blind)
#6599B1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a7ffb;
/* rgb */ color: rgb(138, 127, 251);
/* oklch */ color: oklch(66.5% 0.178 284.5);
Tailwind
colors: {
  custom: {
    50: '#b2a4fd',
    500: '#8a7ffb',
    950: '#000000',
  },
}
SCSS
$custom: #8a7ffb;
$custom-light: #b2a4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7ffb",
  "rgb": {
    "r": 138,
    "g": 127,
    "b": 251
  },
  "hsl": {
    "h": 245.323,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.66453,
    "c": 0.17839,
    "h": 284.5
  },
  "luminance": 0.27547
}

Semantic roles & 50–950 ramp

primary
#8A7FFB
secondary
#F3F6D5
accent
#E600D1
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F18
muted
#807F86

Preview Lab

Preview with #8A7FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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