#8762EF#8762EF

#8762EF is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.6% C 0.203 H 291.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8762EF
RGBrgb(135, 98, 239)
HSLhsl(256, 82%, 66%)
HSVhsv(256, 59%, 94%)
CMYKcmyk(43.5%, 59%, 0%, 6.3%)
CIE-LABlab(51.97, 47.21, -66.20)
CIE-LCHlch(51.97, 81.32, 305.49°)
OKLaboklab(60.59% 0.0734 -0.1889)
OKLCHoklch(60.59% 0.203 291.2)
XYZxyz(29.9350, 20.1173, 83.9504)
Luminance0.2012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8762EF #CAEF62
analogous
#6283EF #8762EF #CE62EF
triadic
#8762EF #EF8762 #62EF87
tetradic
#8762EF #EF6283 #CAEF62 #62EFCE
square
#8762EF #EF6283 #CAEF62 #62EFCE
split-complementary
#8762EF #EFCE62 #83EF62
monochromatic
#4214C3 #5D2AE9 #8762EF #B19AF5 #DCD1FA

Accessibility & contrast

On white

4.18
#8762EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#8762EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8762EF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8762EF#FFFFFF#000000##000000
##8762EF1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF4
Deuteranopia (green-blind)
#0079EC
Tritanopia (blue-blind)
#69829F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8762ef;
/* rgb */ color: rgb(135, 98, 239);
/* oklch */ color: oklch(60.6% 0.203 291.2);
Tailwind
colors: {
  custom: {
    50: '#b090f5',
    500: '#8762ef',
    950: '#000000',
  },
}
SCSS
$custom: #8762ef;
$custom-light: #b090f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8762ef",
  "rgb": {
    "r": 135,
    "g": 98,
    "b": 239
  },
  "hsl": {
    "h": 255.745,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60586,
    "c": 0.20264,
    "h": 291.2
  },
  "luminance": 0.20118
}

Semantic roles & 50–950 ramp

primary
#8762EF
secondary
#E1EEBF
accent
#DE08A6
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110D17
muted
#807D85

Preview Lab

Preview with #8762EF

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

Preview Lab → · Contrast checker → · Palette generator →

#8762EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva