#8765EC#8765EC

#8765EC is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.8% C 0.195 H 291.1°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8765EC
RGBrgb(135, 101, 236)
HSLhsl(255, 78%, 66%)
HSVhsv(255, 57%, 93%)
CMYKcmyk(42.8%, 57.2%, 0%, 7.5%)
CIE-LABlab(52.41, 44.72, -63.81)
CIE-LCHlch(52.41, 77.92, 305.02°)
OKLaboklab(60.85% 0.0701 -0.1818)
OKLCHoklch(60.85% 0.195 291.1)
XYZxyz(29.7815, 20.5134, 81.7310)
Luminance0.2051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8765EC #CAEC65
analogous
#6586EC #8765EC #CA65EC
triadic
#8765EC #EC8765 #65EC87
tetradic
#8765EC #EC6586 #CAEC65 #65ECCA
square
#8765EC #EC6586 #CAEC65 #65ECCA
split-complementary
#8765EC #ECCA65 #86EC65
monochromatic
#4218BF #5D2FE5 #8765EC #B19BF3 #DCD2F9

Accessibility & contrast

On white

4.12
#8765EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#8765EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8765EC
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8765EC#FFFFFF#000000##000000
##8765EC1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#077FF0
Deuteranopia (green-blind)
#197AE9
Tritanopia (blue-blind)
#6A839F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8765ec;
/* rgb */ color: rgb(135, 101, 236);
/* oklch */ color: oklch(60.8% 0.195 291.1);
Tailwind
colors: {
  custom: {
    50: '#b092f3',
    500: '#8765ec',
    950: '#000000',
  },
}
SCSS
$custom: #8765ec;
$custom-light: #b092f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8765ec",
  "rgb": {
    "r": 135,
    "g": 101,
    "b": 236
  },
  "hsl": {
    "h": 255.111,
    "s": 78.035,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60849,
    "c": 0.19488,
    "h": 291.1
  },
  "luminance": 0.20514
}

Semantic roles & 50–950 ramp

primary
#8765EC
secondary
#E1EDC0
accent
#DA0BA6
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8765EC

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

Preview Lab → · Contrast checker → · Palette generator →

#8765EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva