#8742D3#8742D3

#8742D3 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.1% C 0.212 H 301.4°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8742D3
RGBrgb(135, 66, 211)
HSLhsl(269, 62%, 54%)
HSVhsv(269, 69%, 83%)
CMYKcmyk(36%, 68.7%, 0%, 17.3%)
CIE-LABlab(43.87, 56.61, -63.45)
CIE-LCHlch(43.87, 85.03, 311.74°)
OKLaboklab(54.11% 0.1102 -0.1807)
OKLCHoklch(54.11% 0.212 301.4)
XYZxyz(23.6949, 13.7504, 63.0211)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8742D3 #8ED342
analogous
#4246D3 #8742D3 #D042D3
triadic
#8742D3 #D38742 #42D387
tetradic
#8742D3 #D34246 #8ED342 #42D3D0
square
#8742D3 #D34246 #8ED342 #42D3D0
split-complementary
#8742D3 #D3D042 #46D342
monochromatic
#4B1D7D #6929AF #8742D3 #A774DF #C6A5EA

Accessibility & contrast

On white

5.60
#8742D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#8742D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8742D3
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8742D3#FFFFFF#000000##FFFFFF
##8742D31.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D7
Deuteranopia (green-blind)
#0067D0
Tritanopia (blue-blind)
#776486
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8742d3;
/* rgb */ color: rgb(135, 66, 211);
/* oklch */ color: oklch(54.1% 0.212 301.4);
Tailwind
colors: {
  custom: {
    50: '#b07be1',
    500: '#8742d3',
    950: '#000000',
  },
}
SCSS
$custom: #8742d3;
$custom-light: #b07be1;
$custom-dark: #000000;
JSON
{
  "hex": "#8742d3",
  "rgb": {
    "r": 135,
    "g": 66,
    "b": 211
  },
  "hsl": {
    "h": 268.552,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54114,
    "c": 0.21166,
    "h": 301.4
  },
  "luminance": 0.1375
}

Semantic roles & 50–950 ramp

primary
#8742D3
secondary
#BAD79A
accent
#E54298
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8742D3

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

Preview Lab → · Contrast checker → · Palette generator →

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