#8A5CCF#8A5CCF

#8A5CCF is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.8% C 0.172 H 299.4°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8A5CCF
RGBrgb(138, 92, 207)
HSLhsl(264, 55%, 59%)
HSVhsv(264, 56%, 81%)
CMYKcmyk(33.3%, 55.6%, 0%, 18.8%)
CIE-LABlab(48.96, 42.76, -52.93)
CIE-LCHlch(48.96, 68.05, 308.94°)
OKLaboklab(57.8% 0.0845 -0.1498)
OKLCHoklch(57.8% 0.172 299.4)
XYZxyz(25.5681, 17.5623, 61.0622)
Luminance0.1756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5CCF #A1CF5C
analogous
#5C67CF #8A5CCF #C35CCF
triadic
#8A5CCF #CF8A5C #5CCF8A
tetradic
#8A5CCF #CF5C67 #A1CF5C #5CCFC3
square
#8A5CCF #CF5C67 #A1CF5C #5CCFC3
split-complementary
#8A5CCF #CFC35C #67CF5C
monochromatic
#4F2888 #6A36B8 #8A5CCF #AC8BDD #CEBBEB

Accessibility & contrast

On white

4.65
#8A5CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#8A5CCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5CCF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5CCF#FFFFFF#000000##FFFFFF
##8A5CCF1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A74D3
Deuteranopia (green-blind)
#3B73CC
Tritanopia (blue-blind)
#7B738D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a5ccf;
/* rgb */ color: rgb(138, 92, 207);
/* oklch */ color: oklch(57.8% 0.172 299.4);
Tailwind
colors: {
  custom: {
    50: '#b08cde',
    500: '#8a5ccf',
    950: '#000000',
  },
}
SCSS
$custom: #8a5ccf;
$custom-light: #b08cde;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5ccf",
  "rgb": {
    "r": 138,
    "g": 92,
    "b": 207
  },
  "hsl": {
    "h": 264,
    "s": 54.502,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57798,
    "c": 0.17199,
    "h": 299.4
  },
  "luminance": 0.17563
}

Semantic roles & 50–950 ramp

primary
#8A5CCF
secondary
#C8DAAD
accent
#DE4AA3
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8A5CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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