#8A7BC3#8A7BC3

#8A7BC3 is a light, moderate violet. Relative luminance 0.235; OKLCH L 62.6% C 0.107 H 292.6°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8A7BC3
RGBrgb(138, 123, 195)
HSLhsl(253, 38%, 62%)
HSVhsv(253, 37%, 76%)
CMYKcmyk(29.2%, 36.9%, 0%, 23.5%)
CIE-LABlab(55.59, 21.76, -35.57)
CIE-LCHlch(55.59, 41.70, 301.46°)
OKLaboklab(62.57% 0.0413 -0.0992)
OKLCHoklch(62.57% 0.107 292.6)
XYZxyz(27.4121, 23.5089, 54.7126)
Luminance0.2351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7BC3 #B4C37B
analogous
#7B90C3 #8A7BC3 #AE7BC3
triadic
#8A7BC3 #C38A7B #7BC38A
tetradic
#8A7BC3 #C37B90 #B4C37B #7BC3AE
square
#8A7BC3 #C37B90 #B4C37B #7BC3AE
split-complementary
#8A7BC3 #C3AE7B #90C37B
monochromatic
#4C3D86 #6551B0 #8A7BC3 #AFA5D6 #D5CFE9

Accessibility & contrast

On white

3.68
#8A7BC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#8A7BC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7BC3
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7BC3#FFFFFF#000000##000000
##8A7BC31.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6786C6
Deuteranopia (green-blind)
#6884C1
Tritanopia (blue-blind)
#7D8896
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a7bc3;
/* rgb */ color: rgb(138, 123, 195);
/* oklch */ color: oklch(62.6% 0.107 292.6);
Tailwind
colors: {
  custom: {
    50: '#aea1d5',
    500: '#8a7bc3',
    950: '#000000',
  },
}
SCSS
$custom: #8a7bc3;
$custom-light: #aea1d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7bc3",
  "rgb": {
    "r": 138,
    "g": 123,
    "b": 195
  },
  "hsl": {
    "h": 252.5,
    "s": 37.5,
    "l": 62.353
  },
  "oklch": {
    "l": 0.6257,
    "c": 0.10742,
    "h": 292.6
  },
  "luminance": 0.23509
}

Semantic roles & 50–950 ramp

primary
#8A7BC3
secondary
#D5DAC0
accent
#B03597
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100F14
muted
#7F7E83

Preview Lab

Preview with #8A7BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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