#8A67D5#8A67D5

#8A67D5 is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.0% C 0.163 H 295.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8A67D5
RGBrgb(138, 103, 213)
HSLhsl(259, 57%, 62%)
HSVhsv(259, 52%, 84%)
CMYKcmyk(35.2%, 51.6%, 0%, 16.5%)
CIE-LABlab(51.73, 38.10, -51.92)
CIE-LCHlch(51.73, 64.40, 306.28°)
OKLaboklab(59.96% 0.0709 -0.1468)
OKLCHoklch(59.96% 0.163 295.8)
XYZxyz(27.3387, 19.9074, 65.3400)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A67D5 #B2D567
analogous
#677BD5 #8A67D5 #C167D5
triadic
#8A67D5 #D58A67 #67D58A
tetradic
#8A67D5 #D5677B #B2D567 #67D5C1
square
#8A67D5 #D5677B #B2D567 #67D5C1
split-complementary
#8A67D5 #D5C167 #7BD567
monochromatic
#4D2A98 #6537C8 #8A67D5 #AF97E2 #D4C7EF

Accessibility & contrast

On white

4.22
#8A67D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#8A67D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A67D5
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A67D5#FFFFFF#000000##000000
##8A67D51.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7CD9
Deuteranopia (green-blind)
#447AD2
Tritanopia (blue-blind)
#797D94
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a67d5;
/* rgb */ color: rgb(138, 103, 213);
/* oklch */ color: oklch(60.0% 0.163 295.8);
Tailwind
colors: {
  custom: {
    50: '#b093e2',
    500: '#8a67d5',
    950: '#000000',
  },
}
SCSS
$custom: #8a67d5;
$custom-light: #b093e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a67d5",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 213
  },
  "hsl": {
    "h": 259.091,
    "s": 56.701,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59962,
    "c": 0.16302,
    "h": 295.8
  },
  "luminance": 0.19908
}

Semantic roles & 50–950 ramp

primary
#8A67D5
secondary
#D3E0B8
accent
#C42190
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #8A67D5

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

Preview Lab → · Contrast checker → · Palette generator →

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