#8754E1#8754E1

#8754E1 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.5% C 0.204 H 296.0°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8754E1
RGBrgb(135, 84, 225)
HSLhsl(262, 70%, 61%)
HSVhsv(262, 63%, 88%)
CMYKcmyk(40%, 62.7%, 0%, 11.8%)
CIE-LABlab(48.17, 51.08, -64.47)
CIE-LCHlch(48.17, 82.25, 308.39°)
OKLaboklab(57.52% 0.0895 -0.1838)
OKLCHoklch(57.52% 0.204 296)
XYZxyz(26.7491, 16.9272, 73.0775)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8754E1 #AEE154
analogous
#5467E1 #8754E1 #CD54E1
triadic
#8754E1 #E18754 #54E187
tetradic
#8754E1 #E15467 #AEE154 #54E1CD
square
#8754E1 #E15467 #AEE154 #54E1CD
split-complementary
#8754E1 #E1CD54 #67E154
monochromatic
#4B1C9F #6425D3 #8754E1 #AC88EA #D0BCF3

Accessibility & contrast

On white

4.79
#8754E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#8754E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8754E1
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8754E1#FFFFFF#000000##FFFFFF
##8754E11.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8754e1;
/* rgb */ color: rgb(135, 84, 225);
/* oklch */ color: oklch(57.5% 0.204 296.0);
Tailwind
colors: {
  custom: {
    50: '#b087eb',
    500: '#8754e1',
    950: '#000000',
  },
}
SCSS
$custom: #8754e1;
$custom-light: #b087eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8754e1",
  "rgb": {
    "r": 135,
    "g": 84,
    "b": 225
  },
  "hsl": {
    "h": 261.702,
    "s": 70.149,
    "l": 60.588
  },
  "oklch": {
    "l": 0.57517,
    "c": 0.20443,
    "h": 296
  },
  "luminance": 0.16928
}

Semantic roles & 50–950 ramp

primary
#8754E1
secondary
#D0E3AE
accent
#D2138D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8754E1

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

Preview Lab → · Contrast checker → · Palette generator →

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