#8754E2#8754E2

#8754E2 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.6% C 0.206 H 295.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8754E2
RGBrgb(135, 84, 226)
HSLhsl(262, 71%, 61%)
HSVhsv(262, 63%, 89%)
CMYKcmyk(40.3%, 62.8%, 0%, 11.4%)
CIE-LABlab(48.24, 51.34, -64.93)
CIE-LCHlch(48.24, 82.77, 308.33°)
OKLaboklab(57.59% 0.0895 -0.1851)
OKLCHoklch(57.59% 0.206 295.8)
XYZxyz(26.8859, 16.9820, 73.7981)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8754E2 #AFE254
analogous
#5468E2 #8754E2 #CE54E2
triadic
#8754E2 #E28754 #54E287
tetradic
#8754E2 #E25468 #AFE254 #54E2CE
square
#8754E2 #E25468 #AFE254 #54E2CE
split-complementary
#8754E2 #E2CE54 #68E254
monochromatic
#4B1BA0 #6424D5 #8754E2 #AC88EB #D0BDF4

Accessibility & contrast

On white

4.78
#8754E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#8754E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8754E2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8754E2#FFFFFF#000000##FFFFFF
##8754E21.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E6
Deuteranopia (green-blind)
#0070DF
Tritanopia (blue-blind)
#707493
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8754e2;
/* rgb */ color: rgb(135, 84, 226);
/* oklch */ color: oklch(57.6% 0.206 295.8);
Tailwind
colors: {
  custom: {
    50: '#b087ec',
    500: '#8754e2',
    950: '#000000',
  },
}
SCSS
$custom: #8754e2;
$custom-light: #b087ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8754e2",
  "rgb": {
    "r": 135,
    "g": 84,
    "b": 226
  },
  "hsl": {
    "h": 261.549,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.57589,
    "c": 0.2056,
    "h": 295.8
  },
  "luminance": 0.16983
}

Semantic roles & 50–950 ramp

primary
#8754E2
secondary
#D0E4AE
accent
#D3128E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8754E2

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

Preview Lab → · Contrast checker → · Palette generator →

#8754E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva