#9062CD#9062CD

#9062CD is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.2% C 0.161 H 301.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9062CD
RGBrgb(144, 98, 205)
HSLhsl(266, 52%, 59%)
HSVhsv(266, 52%, 80%)
CMYKcmyk(29.8%, 52.2%, 0%, 19.6%)
CIE-LABlab(50.77, 40.41, -48.85)
CIE-LCHlch(50.77, 63.40, 309.60°)
OKLaboklab(59.24% 0.0844 -0.1377)
OKLCHoklch(59.24% 0.161 301.5)
XYZxyz(26.8862, 19.0724, 60.0107)
Luminance0.1907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9062CD #9FCD62
analogous
#626ACD #9062CD #C562CD
triadic
#9062CD #CD9062 #62CD90
tetradic
#9062CD #CD626A #9FCD62 #62CDC5
square
#9062CD #CD626A #9FCD62 #62CDC5
split-complementary
#9062CD #CDC562 #6ACD62
monochromatic
#542C89 #703AB7 #9062CD #B190DC #D2BFEB

Accessibility & contrast

On white

4.36
#9062CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#9062CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9062CD
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9062CD#FFFFFF#000000##000000
##9062CD1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D78D1
Deuteranopia (green-blind)
#4A78CA
Tritanopia (blue-blind)
#84768E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9062cd;
/* rgb */ color: rgb(144, 98, 205);
/* oklch */ color: oklch(59.2% 0.161 301.5);
Tailwind
colors: {
  custom: {
    50: '#b390dd',
    500: '#9062cd',
    950: '#000000',
  },
}
SCSS
$custom: #9062cd;
$custom-light: #b390dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9062cd",
  "rgb": {
    "r": 144,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 265.794,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59243,
    "c": 0.16147,
    "h": 301.5
  },
  "luminance": 0.19072
}

Semantic roles & 50–950 ramp

primary
#9062CD
secondary
#C8DAB1
accent
#DB4D9E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #9062CD

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

Preview Lab → · Contrast checker → · Palette generator →

#9062CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva