#8A7CBF#8A7CBF

#8A7CBF is a light, moderate violet. Relative luminance 0.236; OKLCH L 62.6% C 0.100 H 292.9°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8A7CBF
RGBrgb(138, 124, 191)
HSLhsl(253, 34%, 62%)
HSVhsv(253, 35%, 75%)
CMYKcmyk(27.7%, 35.1%, 0%, 25.1%)
CIE-LABlab(55.66, 20.15, -33.18)
CIE-LCHlch(55.66, 38.82, 301.28°)
OKLaboklab(62.57% 0.0389 -0.0923)
OKLCHoklch(62.57% 0.1 292.9)
XYZxyz(27.0905, 23.5798, 52.4042)
Luminance0.2358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7CBF #B1BF7C
analogous
#7C90BF #8A7CBF #AC7CBF
triadic
#8A7CBF #BF8A7C #7CBF8A
tetradic
#8A7CBF #BF7C90 #B1BF7C #7CBFAC
square
#8A7CBF #BF7C90 #B1BF7C #7CBFAC
split-complementary
#8A7CBF #BFAC7C #90BF7C
monochromatic
#4D3F81 #6653AB #8A7CBF #AFA5D3 #D3CEE7

Accessibility & contrast

On white

3.67
#8A7CBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#8A7CBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7CBF
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7CBF#FFFFFF#000000##000000
##8A7CBF1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A86C2
Deuteranopia (green-blind)
#6B84BD
Tritanopia (blue-blind)
#7F8895
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a7cbf;
/* rgb */ color: rgb(138, 124, 191);
/* oklch */ color: oklch(62.6% 0.100 292.9);
Tailwind
colors: {
  custom: {
    50: '#ada2d2',
    500: '#8a7cbf',
    950: '#000000',
  },
}
SCSS
$custom: #8a7cbf;
$custom-light: #ada2d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7cbf",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 191
  },
  "hsl": {
    "h": 252.537,
    "s": 34.359,
    "l": 61.765
  },
  "oklch": {
    "l": 0.62565,
    "c": 0.10015,
    "h": 292.9
  },
  "luminance": 0.2358
}

Semantic roles & 50–950 ramp

primary
#8A7CBF
secondary
#D3D8BF
accent
#AD3895
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100F14
muted
#7F7E82

Preview Lab

Preview with #8A7CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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