#8742D0#8742D0

#8742D0 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.9% C 0.208 H 302.1°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8742D0
RGBrgb(135, 66, 208)
HSLhsl(269, 60%, 54%)
HSVhsv(269, 68%, 82%)
CMYKcmyk(35.1%, 68.3%, 0%, 18.4%)
CIE-LABlab(43.66, 55.89, -62.07)
CIE-LCHlch(43.66, 83.53, 312.00°)
OKLaboklab(53.89% 0.1106 -0.1767)
OKLCHoklch(53.89% 0.208 302.1)
XYZxyz(23.3223, 13.6013, 61.0589)
Luminance0.1360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8742D0 #8BD042
analogous
#4244D0 #8742D0 #CE42D0
triadic
#8742D0 #D08742 #42D087
tetradic
#8742D0 #D04244 #8BD042 #42D0CE
square
#8742D0 #D04244 #8BD042 #42D0CE
split-complementary
#8742D0 #D0CE42 #44D042
monochromatic
#4B1E79 #692AAA #8742D0 #A673DC #C5A4E8

Accessibility & contrast

On white

5.64
#8742D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8742D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8742D0
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8742D0#FFFFFF#000000##FFFFFF
##8742D01.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D4
Deuteranopia (green-blind)
#0067CD
Tritanopia (blue-blind)
#786384
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8742d0;
/* rgb */ color: rgb(135, 66, 208);
/* oklch */ color: oklch(53.9% 0.208 302.1);
Tailwind
colors: {
  custom: {
    50: '#af7bdf',
    500: '#8742d0',
    950: '#000000',
  },
}
SCSS
$custom: #8742d0;
$custom-light: #af7bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#8742d0",
  "rgb": {
    "r": 135,
    "g": 66,
    "b": 208
  },
  "hsl": {
    "h": 269.155,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53891,
    "c": 0.20844,
    "h": 302.1
  },
  "luminance": 0.13601
}

Semantic roles & 50–950 ramp

primary
#8742D0
secondary
#B8D599
accent
#E34496
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8742D0

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

Preview Lab → · Contrast checker → · Palette generator →

#8742D0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva