#8A7DBF#8A7DBF

#8A7DBF is a light, moderate violet. Relative luminance 0.238; OKLCH L 62.8% C 0.099 H 292.4°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8A7DBF
RGBrgb(138, 125, 191)
HSLhsl(252, 34%, 62%)
HSVhsv(252, 35%, 75%)
CMYKcmyk(27.7%, 34.6%, 0%, 25.1%)
CIE-LABlab(55.92, 19.56, -32.78)
CIE-LCHlch(55.92, 38.17, 300.83°)
OKLaboklab(62.76% 0.0375 -0.0911)
OKLCHoklch(62.76% 0.099 292.4)
XYZxyz(27.2165, 23.8317, 52.4462)
Luminance0.2383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7DBF #B2BF7D
analogous
#7D91BF #8A7DBF #AB7DBF
triadic
#8A7DBF #BF8A7D #7DBF8A
tetradic
#8A7DBF #BF7D91 #B2BF7D #7DBFAB
square
#8A7DBF #BF7D91 #B2BF7D #7DBFAB
split-complementary
#8A7DBF #BFAB7D #91BF7D
monochromatic
#4D4082 #6554AB #8A7DBF #AFA6D3 #D4CFE7

Accessibility & contrast

On white

3.64
#8A7DBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#8A7DBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7DBF
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7DBF#FFFFFF#000000##000000
##8A7DBF1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B87C2
Deuteranopia (green-blind)
#6C85BD
Tritanopia (blue-blind)
#7E8895
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a7dbf;
/* rgb */ color: rgb(138, 125, 191);
/* oklch */ color: oklch(62.8% 0.099 292.4);
Tailwind
colors: {
  custom: {
    50: '#ada2d2',
    500: '#8a7dbf',
    950: '#000000',
  },
}
SCSS
$custom: #8a7dbf;
$custom-light: #ada2d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7dbf",
  "rgb": {
    "r": 138,
    "g": 125,
    "b": 191
  },
  "hsl": {
    "h": 251.818,
    "s": 34.021,
    "l": 61.961
  },
  "oklch": {
    "l": 0.6276,
    "c": 0.09855,
    "h": 292.4
  },
  "luminance": 0.23832
}

Semantic roles & 50–950 ramp

primary
#8A7DBF
secondary
#D3D8C0
accent
#AD3996
background
#FAFAFC
surface
#F4F3F9
border
#CECDD2
text
#100F14
muted
#7F7F82

Preview Lab

Preview with #8A7DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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