#8A55F8#8A55F8

#8A55F8 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.6% C 0.230 H 293.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8A55F8
RGBrgb(138, 85, 248)
HSLhsl(260, 92%, 65%)
HSVhsv(260, 66%, 97%)
CMYKcmyk(44.4%, 65.7%, 0%, 2.7%)
CIE-LABlab(50.31, 57.14, -73.91)
CIE-LCHlch(50.31, 93.42, 307.70°)
OKLaboklab(59.65% 0.0901 -0.2114)
OKLCHoklch(59.65% 0.23 293.1)
XYZxyz(30.6684, 18.6767, 90.7778)
Luminance0.1868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A55F8 #C3F855
analogous
#5572F8 #8A55F8 #DB55F8
triadic
#8A55F8 #F88A55 #55F88A
tetradic
#8A55F8 #F85572 #C3F855 #55F8DB
square
#8A55F8 #F85572 #C3F855 #55F8DB
split-complementary
#8A55F8 #F8DB55 #72F855
monochromatic
#4708CA #621AF6 #8A55F8 #B290FA #DBCBFD

Accessibility & contrast

On white

4.43
#8A55F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#8A55F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A55F8
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A55F8#FFFFFF#000000##000000
##8A55F81.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFD
Deuteranopia (green-blind)
#0075F5
Tritanopia (blue-blind)
#6A7CA0
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a55f8;
/* rgb */ color: rgb(138, 85, 248);
/* oklch */ color: oklch(59.6% 0.230 293.1);
Tailwind
colors: {
  custom: {
    50: '#b488fc',
    500: '#8a55f8',
    950: '#000000',
  },
}
SCSS
$custom: #8a55f8;
$custom-light: #b488fc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a55f8",
  "rgb": {
    "r": 138,
    "g": 85,
    "b": 248
  },
  "hsl": {
    "h": 259.509,
    "s": 92.09,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59647,
    "c": 0.22983,
    "h": 293.1
  },
  "luminance": 0.18678
}

Semantic roles & 50–950 ramp

primary
#8A55F8
secondary
#DEF0B9
accent
#E6009B
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8A55F8

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

Preview Lab → · Contrast checker → · Palette generator →

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