#8A55DB#8A55DB

#8A55DB is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.5% C 0.196 H 298.2°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8A55DB
RGBrgb(138, 85, 219)
HSLhsl(264, 65%, 60%)
HSVhsv(264, 61%, 86%)
CMYKcmyk(37%, 61.2%, 0%, 14.1%)
CIE-LABlab(48.28, 49.63, -60.87)
CIE-LCHlch(48.28, 78.54, 309.19°)
OKLaboklab(57.54% 0.0928 -0.1731)
OKLCHoklch(57.54% 0.196 298.2)
XYZxyz(26.5127, 17.0144, 68.8914)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A55DB #A6DB55
analogous
#5563DB #8A55DB #CD55DB
triadic
#8A55DB #DB8A55 #55DB8A
tetradic
#8A55DB #DB5563 #A6DB55 #55DBCD
square
#8A55DB #DB5563 #A6DB55 #55DBCD
split-complementary
#8A55DB #DBCD55 #63DB55
monochromatic
#4E2096 #692AC8 #8A55DB #AD88E6 #D0BAF0

Accessibility & contrast

On white

4.77
#8A55DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#8A55DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A55DB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A55DB#FFFFFF#000000##FFFFFF
##8A55DB1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#1A71D8
Tritanopia (blue-blind)
#777290
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8a55db;
/* rgb */ color: rgb(138, 85, 219);
/* oklch */ color: oklch(57.5% 0.196 298.2);
Tailwind
colors: {
  custom: {
    50: '#b187e7',
    500: '#8a55db',
    950: '#000000',
  },
}
SCSS
$custom: #8a55db;
$custom-light: #b187e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a55db",
  "rgb": {
    "r": 138,
    "g": 85,
    "b": 219
  },
  "hsl": {
    "h": 263.731,
    "s": 65.049,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57541,
    "c": 0.1964,
    "h": 298.2
  },
  "luminance": 0.17015
}

Semantic roles & 50–950 ramp

primary
#8A55DB
secondary
#CBE0AC
accent
#E840A5
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8A55DB

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

Preview Lab → · Contrast checker → · Palette generator →

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