#8A3DCF#8A3DCF

#8A3DCF is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.6% C 0.214 H 304.1°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8A3DCF
RGBrgb(138, 61, 207)
HSLhsl(272, 60%, 53%)
HSVhsv(272, 71%, 81%)
CMYKcmyk(33.3%, 70.5%, 0%, 18.8%)
CIE-LABlab(43.13, 58.54, -62.33)
CIE-LCHlch(43.13, 85.51, 313.20°)
OKLaboklab(53.58% 0.1199 -0.1773)
OKLCHoklch(53.58% 0.214 304.1)
XYZxyz(23.4099, 13.2458, 60.3428)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3DCF #82CF3D
analogous
#413DCF #8A3DCF #CF3DCB
triadic
#8A3DCF #CF8A3D #3DCF8A
tetradic
#8A3DCF #CF413D #82CF3D #3DCBCF
square
#8A3DCF #CF413D #82CF3D #3DCBCF
split-complementary
#8A3DCF #CBCF3D #3DCF41
monochromatic
#4B1D75 #6B29A6 #8A3DCF #A86EDB #C59FE7

Accessibility & contrast

On white

5.75
#8A3DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8A3DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3DCF
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3DCF#FFFFFF#000000##FFFFFF
##8A3DCF1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#0066CC
Tritanopia (blue-blind)
#7D5F82
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8a3dcf;
/* rgb */ color: rgb(138, 61, 207);
/* oklch */ color: oklch(53.6% 0.214 304.1);
Tailwind
colors: {
  custom: {
    50: '#b279df',
    500: '#8a3dcf',
    950: '#000000',
  },
}
SCSS
$custom: #8a3dcf;
$custom-light: #b279df;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3dcf",
  "rgb": {
    "r": 138,
    "g": 61,
    "b": 207
  },
  "hsl": {
    "h": 271.644,
    "s": 60.331,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53576,
    "c": 0.21404,
    "h": 304.1
  },
  "luminance": 0.13246
}

Semantic roles & 50–950 ramp

primary
#8A3DCF
secondary
#B2D494
accent
#E34490
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8A3DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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