#9062CA#9062CA

#9062CA is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.1% C 0.158 H 302.2°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9062CA
RGBrgb(144, 98, 202)
HSLhsl(267, 50%, 59%)
HSVhsv(267, 51%, 79%)
CMYKcmyk(28.7%, 51.5%, 0%, 20.8%)
CIE-LABlab(50.60, 39.67, -47.41)
CIE-LCHlch(50.60, 61.81, 309.92°)
OKLaboklab(59.06% 0.0842 -0.1334)
OKLCHoklch(59.06% 0.158 302.2)
XYZxyz(26.5275, 18.9289, 58.1218)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9062CA #9CCA62
analogous
#6268CA #9062CA #C462CA
triadic
#9062CA #CA9062 #62CA90
tetradic
#9062CA #CA6268 #9CCA62 #62CAC4
square
#9062CA #CA6268 #9CCA62 #62CAC4
split-complementary
#9062CA #CAC462 #68CA62
monochromatic
#542D85 #713CB3 #9062CA #B090D9 #D1BEE9

Accessibility & contrast

On white

4.39
#9062CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#9062CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9062CA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9062CA#FFFFFF#000000##000000
##9062CA1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F78CE
Deuteranopia (green-blind)
#4C78C7
Tritanopia (blue-blind)
#85758D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9062ca;
/* rgb */ color: rgb(144, 98, 202);
/* oklch */ color: oklch(59.1% 0.158 302.2);
Tailwind
colors: {
  custom: {
    50: '#b390db',
    500: '#9062ca',
    950: '#000000',
  },
}
SCSS
$custom: #9062ca;
$custom-light: #b390db;
$custom-dark: #000000;
JSON
{
  "hex": "#9062ca",
  "rgb": {
    "r": 144,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 266.538,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59064,
    "c": 0.15775,
    "h": 302.2
  },
  "luminance": 0.18929
}

Semantic roles & 50–950 ramp

primary
#9062CA
secondary
#C6D8AF
accent
#D94F9C
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #9062CA

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

Preview Lab → · Contrast checker → · Palette generator →

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