#8A76F2#8A76F2

#8A76F2 is a light, vivid blue. Relative luminance 0.248; OKLCH L 64.3% C 0.179 H 287.7°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8A76F2
RGBrgb(138, 118, 242)
HSLhsl(250, 83%, 71%)
HSVhsv(250, 51%, 95%)
CMYKcmyk(43%, 51.2%, 0%, 5.1%)
CIE-LABlab(56.85, 37.35, -60.01)
CIE-LCHlch(56.85, 70.68, 301.90°)
OKLaboklab(64.32% 0.0544 -0.1705)
OKLCHoklch(64.32% 0.179 287.7)
XYZxyz(32.9821, 24.7697, 87.0304)
Luminance0.2477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A76F2 #DEF276
analogous
#76A0F2 #8A76F2 #C876F2
triadic
#8A76F2 #F28A76 #76F28A
tetradic
#8A76F2 #F276A0 #DEF276 #76F2C8
square
#8A76F2 #F276A0 #DEF276 #76F2C8
split-complementary
#8A76F2 #F2C876 #A0F276
monochromatic
#3415D9 #5A3EED #8A76F2 #BAAEF7 #E7E3FC

Accessibility & contrast

On white

3.53
#8A76F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#8A76F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A76F2
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A76F2#FFFFFF#000000##000000
##8A76F21.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8BF6
Deuteranopia (green-blind)
#3D85EF
Tritanopia (blue-blind)
#6B90A9
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a76f2;
/* rgb */ color: rgb(138, 118, 242);
/* oklch */ color: oklch(64.3% 0.179 287.7);
Tailwind
colors: {
  custom: {
    50: '#b29ef7',
    500: '#8a76f2',
    950: '#000000',
  },
}
SCSS
$custom: #8a76f2;
$custom-light: #b29ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a76f2",
  "rgb": {
    "r": 138,
    "g": 118,
    "b": 242
  },
  "hsl": {
    "h": 249.677,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.6432,
    "c": 0.17898,
    "h": 287.7
  },
  "luminance": 0.24771
}

Semantic roles & 50–950 ramp

primary
#8A76F2
secondary
#EDF3D1
accent
#DF06BC
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A76F2

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

Preview Lab → · Contrast checker → · Palette generator →

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