#8D62CB#8D62CB

#8D62CB is a mid, vivid violet. Relative luminance 0.187; OKLCH L 58.8% C 0.158 H 300.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8D62CB
RGBrgb(141, 98, 203)
HSLhsl(265, 50%, 59%)
HSVhsv(265, 52%, 80%)
CMYKcmyk(30.5%, 51.7%, 0%, 20.4%)
CIE-LABlab(50.35, 39.14, -48.41)
CIE-LCHlch(50.35, 62.25, 308.96°)
OKLaboklab(58.82% 0.0804 -0.1364)
OKLCHoklch(58.82% 0.158 300.5)
XYZxyz(26.1292, 18.7097, 58.7231)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D62CB #A0CB62
analogous
#626CCB #8D62CB #C162CB
triadic
#8D62CB #CB8D62 #62CB8D
tetradic
#8D62CB #CB626C #A0CB62 #62CBC1
square
#8D62CB #CB626C #A0CB62 #62CBC1
split-complementary
#8D62CB #CBC162 #6CCB62
monochromatic
#512C86 #6D3CB4 #8D62CB #AE90DA #D0BEE9

Accessibility & contrast

On white

4.43
#8D62CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#8D62CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D62CB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D62CB#FFFFFF#000000##000000
##8D62CB1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D77CF
Deuteranopia (green-blind)
#4977C8
Tritanopia (blue-blind)
#81768D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8d62cb;
/* rgb */ color: rgb(141, 98, 203);
/* oklch */ color: oklch(58.8% 0.158 300.5);
Tailwind
colors: {
  custom: {
    50: '#b190db',
    500: '#8d62cb',
    950: '#000000',
  },
}
SCSS
$custom: #8d62cb;
$custom-light: #b190db;
$custom-dark: #000000;
JSON
{
  "hex": "#8d62cb",
  "rgb": {
    "r": 141,
    "g": 98,
    "b": 203
  },
  "hsl": {
    "h": 264.571,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58818,
    "c": 0.1584,
    "h": 300.5
  },
  "luminance": 0.1871
}

Semantic roles & 50–950 ramp

primary
#8D62CB
secondary
#C8D9B0
accent
#DA4EA1
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D62CB

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

Preview Lab → · Contrast checker → · Palette generator →

#8D62CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva