#8A67F2#8A67F2

#8A67F2 is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.8% C 0.200 H 291.0°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8A67F2
RGBrgb(138, 103, 242)
HSLhsl(255, 84%, 68%)
HSVhsv(255, 57%, 95%)
CMYKcmyk(43%, 57.4%, 0%, 5.1%)
CIE-LABlab(53.51, 45.88, -65.38)
CIE-LCHlch(53.51, 79.87, 305.06°)
OKLaboklab(61.84% 0.0716 -0.1864)
OKLCHoklch(61.84% 0.2 291)
XYZxyz(31.3541, 21.5136, 86.4877)
Luminance0.2152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A67F2 #CFF267
analogous
#6789F2 #8A67F2 #CF67F2
triadic
#8A67F2 #F28A67 #67F28A
tetradic
#8A67F2 #F26789 #CFF267 #67F2CF
square
#8A67F2 #F26789 #CFF267 #67F2CF
split-complementary
#8A67F2 #F2CF67 #89F267
monochromatic
#4112CD #5F2FED #8A67F2 #B59FF7 #E1D8FC

Accessibility & contrast

On white

3.96
#8A67F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#8A67F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A67F2
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A67F2#FFFFFF#000000##000000
##8A67F21.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F7
Deuteranopia (green-blind)
#157DEF
Tritanopia (blue-blind)
#6C86A3
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a67f2;
/* rgb */ color: rgb(138, 103, 242);
/* oklch */ color: oklch(61.8% 0.200 291.0);
Tailwind
colors: {
  custom: {
    50: '#b293f7',
    500: '#8a67f2',
    950: '#000000',
  },
}
SCSS
$custom: #8a67f2;
$custom-light: #b293f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a67f2",
  "rgb": {
    "r": 138,
    "g": 103,
    "b": 242
  },
  "hsl": {
    "h": 255.108,
    "s": 84.242,
    "l": 67.647
  },
  "oklch": {
    "l": 0.61843,
    "c": 0.19965,
    "h": 291
  },
  "luminance": 0.21515
}

Semantic roles & 50–950 ramp

primary
#8A67F2
secondary
#E5F0C5
accent
#E105A9
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A67F2

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

Preview Lab → · Contrast checker → · Palette generator →

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