#8A5FCF#8A5FCF

#8A5FCF is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.3% C 0.167 H 298.8°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8A5FCF
RGBrgb(138, 95, 207)
HSLhsl(263, 54%, 59%)
HSVhsv(263, 54%, 81%)
CMYKcmyk(33.3%, 54.1%, 0%, 18.8%)
CIE-LABlab(49.61, 41.09, -51.89)
CIE-LCHlch(49.61, 66.19, 308.37°)
OKLaboklab(58.28% 0.0808 -0.1467)
OKLCHoklch(58.28% 0.167 298.8)
XYZxyz(25.8332, 18.0924, 61.1506)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5FCF #A4CF5F
analogous
#5F6CCF #8A5FCF #C25FCF
triadic
#8A5FCF #CF8A5F #5FCF8A
tetradic
#8A5FCF #CF5F6C #A4CF5F #5FCFC2
square
#8A5FCF #CF5F6C #A4CF5F #5FCFC2
split-complementary
#8A5FCF #CFC25F #6CCF5F
monochromatic
#4F298A #6938B9 #8A5FCF #AC8EDD #CFBDEB

Accessibility & contrast

On white

4.55
#8A5FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#8A5FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A5FCF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5FCF#FFFFFF#000000##000000
##8A5FCF1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3276D3
Deuteranopia (green-blind)
#3F75CC
Tritanopia (blue-blind)
#7B758E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a5fcf;
/* rgb */ color: rgb(138, 95, 207);
/* oklch */ color: oklch(58.3% 0.167 298.8);
Tailwind
colors: {
  custom: {
    50: '#b08ede',
    500: '#8a5fcf',
    950: '#000000',
  },
}
SCSS
$custom: #8a5fcf;
$custom-light: #b08ede;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5fcf",
  "rgb": {
    "r": 138,
    "g": 95,
    "b": 207
  },
  "hsl": {
    "h": 263.036,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58275,
    "c": 0.16749,
    "h": 298.8
  },
  "luminance": 0.18093
}

Semantic roles & 50–950 ramp

primary
#8A5FCF
secondary
#CADBAF
accent
#DD4BA5
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8A5FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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