#8751DB#8751DB

#8751DB is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.7% C 0.201 H 297.6°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8751DB
RGBrgb(135, 81, 219)
HSLhsl(263, 66%, 59%)
HSVhsv(263, 63%, 86%)
CMYKcmyk(38.4%, 63%, 0%, 14.1%)
CIE-LABlab(47.17, 51.11, -62.68)
CIE-LCHlch(47.17, 80.87, 309.19°)
OKLaboklab(56.66% 0.0933 -0.1785)
OKLCHoklch(56.66% 0.201 297.6)
XYZxyz(25.7170, 16.1498, 68.7664)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8751DB #A5DB51
analogous
#5160DB #8751DB #CC51DB
triadic
#8751DB #DB8751 #51DB87
tetradic
#8751DB #DB5160 #A5DB51 #51DBCC
square
#8751DB #DB5160 #A5DB51 #51DBCC
split-complementary
#8751DB #DBCC51 #60DB51
monochromatic
#4C1E93 #6629C6 #8751DB #AA84E5 #CDB6F0

Accessibility & contrast

On white

4.96
#8751DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#8751DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8751DB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8751DB#FFFFFF#000000##FFFFFF
##8751DB1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#006ED8
Tritanopia (blue-blind)
#73708F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8751db;
/* rgb */ color: rgb(135, 81, 219);
/* oklch */ color: oklch(56.7% 0.201 297.6);
Tailwind
colors: {
  custom: {
    50: '#af85e7',
    500: '#8751db',
    950: '#000000',
  },
}
SCSS
$custom: #8751db;
$custom-light: #af85e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8751db",
  "rgb": {
    "r": 135,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 263.478,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.56663,
    "c": 0.20142,
    "h": 297.6
  },
  "luminance": 0.1615
}

Semantic roles & 50–950 ramp

primary
#8751DB
secondary
#CADFA9
accent
#E93FA6
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8751DB

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

Preview Lab → · Contrast checker → · Palette generator →

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