#8A7CCF#8A7CCF

#8A7CCF is a light, vivid violet. Relative luminance 0.243; OKLCH L 63.4% C 0.123 H 290.2°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#8A7CCF
RGBrgb(138, 124, 207)
HSLhsl(250, 46%, 65%)
HSVhsv(250, 40%, 81%)
CMYKcmyk(33.3%, 40.1%, 0%, 18.8%)
CIE-LABlab(56.41, 24.30, -41.09)
CIE-LCHlch(56.41, 47.74, 300.59°)
OKLaboklab(63.38% 0.0424 -0.1152)
OKLCHoklch(63.38% 0.123 290.2)
XYZxyz(28.9484, 24.3229, 62.1890)
Luminance0.2432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7CCF #C1CF7C
analogous
#7C98CF #8A7CCF #B37CCF
triadic
#8A7CCF #CF8A7C #7CCF8A
tetradic
#8A7CCF #CF7C98 #C1CF7C #7CCFB3
square
#8A7CCF #CF7C98 #C1CF7C #7CCFB3
split-complementary
#8A7CCF #CFB37C #98CF7C
monochromatic
#483899 #624FBF #8A7CCF #B2A9DF #DAD6F0

Accessibility & contrast

On white

3.58
#8A7CCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#8A7CCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7CCF
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7CCF#FFFFFF#000000##000000
##8A7CCF1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6289D2
Deuteranopia (green-blind)
#6385CD
Tritanopia (blue-blind)
#798B9C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a7ccf;
/* rgb */ color: rgb(138, 124, 207);
/* oklch */ color: oklch(63.4% 0.123 290.2);
Tailwind
colors: {
  custom: {
    50: '#aea2de',
    500: '#8a7ccf',
    950: '#000000',
  },
}
SCSS
$custom: #8a7ccf;
$custom-light: #aea2de;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7ccf",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 207
  },
  "hsl": {
    "h": 250.12,
    "s": 46.369,
    "l": 64.902
  },
  "oklch": {
    "l": 0.63378,
    "c": 0.12274,
    "h": 290.2
  },
  "luminance": 0.24324
}

Semantic roles & 50–950 ramp

primary
#8A7CCF
secondary
#DDE2C5
accent
#BA2CA2
background
#FAF9FD
surface
#F5F2FB
border
#CFCCD4
text
#100F15
muted
#7F7E83

Preview Lab

Preview with #8A7CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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