#8751CA#8751CA

#8751CA is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.5% C 0.182 H 301.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8751CA
RGBrgb(135, 81, 202)
HSLhsl(267, 53%, 55%)
HSVhsv(267, 60%, 79%)
CMYKcmyk(33.2%, 59.9%, 0%, 20.8%)
CIE-LABlab(46.04, 46.81, -54.76)
CIE-LCHlch(46.04, 72.04, 310.52°)
OKLaboklab(55.48% 0.0942 -0.1552)
OKLCHoklch(55.48% 0.182 301.3)
XYZxyz(23.5923, 15.2999, 57.5759)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8751CA #94CA51
analogous
#5157CA #8751CA #C451CA
triadic
#8751CA #CA8751 #51CA87
tetradic
#8751CA #CA5157 #94CA51 #51CAC4
square
#8751CA #CA5157 #94CA51 #51CAC4
split-complementary
#8751CA #CAC451 #57CA51
monochromatic
#4C257B #6934AA #8751CA #A780D8 #C8AFE7

Accessibility & contrast

On white

5.17
#8751CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#8751CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8751CA
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8751CA#FFFFFF#000000##FFFFFF
##8751CA1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#086CCE
Deuteranopia (green-blind)
#2C6CC7
Tritanopia (blue-blind)
#796A86
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8751ca;
/* rgb */ color: rgb(135, 81, 202);
/* oklch */ color: oklch(55.5% 0.182 301.3);
Tailwind
colors: {
  custom: {
    50: '#ae84db',
    500: '#8751ca',
    950: '#000000',
  },
}
SCSS
$custom: #8751ca;
$custom-light: #ae84db;
$custom-dark: #000000;
JSON
{
  "hex": "#8751ca",
  "rgb": {
    "r": 135,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 266.777,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55485,
    "c": 0.18159,
    "h": 301.3
  },
  "luminance": 0.153
}

Semantic roles & 50–950 ramp

primary
#8751CA
secondary
#BED5A2
accent
#DD4B9C
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8751CA

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

Preview Lab → · Contrast checker → · Palette generator →

#8751CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva