#9062E5#9062E5

#9062E5 is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.8% C 0.191 H 296.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9062E5
RGBrgb(144, 98, 229)
HSLhsl(261, 72%, 64%)
HSVhsv(261, 57%, 90%)
CMYKcmyk(37.1%, 57.2%, 0%, 10.2%)
CIE-LABlab(52.20, 46.51, -60.18)
CIE-LCHlch(52.20, 76.06, 307.70°)
OKLaboklab(60.75% 0.0851 -0.1709)
OKLCHoklch(60.75% 0.191 296.5)
XYZxyz(30.0085, 20.3213, 76.4549)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9062E5 #B7E562
analogous
#6276E5 #9062E5 #D262E5
triadic
#9062E5 #E59062 #62E590
tetradic
#9062E5 #E56276 #B7E562 #62E5D2
square
#9062E5 #E56276 #B7E562 #62E5D2
split-complementary
#9062E5 #E5D262 #76E562
monochromatic
#501DB0 #6B2DDC #9062E5 #B597EE #DACBF6

Accessibility & contrast

On white

4.15
#9062E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#9062E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9062E5
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9062E5#FFFFFF#000000##000000
##9062E51.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A7DE9
Deuteranopia (green-blind)
#2F7BE2
Tritanopia (blue-blind)
#7C7E9A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9062e5;
/* rgb */ color: rgb(144, 98, 229);
/* oklch */ color: oklch(60.8% 0.191 296.5);
Tailwind
colors: {
  custom: {
    50: '#b590ee',
    500: '#9062e5',
    950: '#000000',
  },
}
SCSS
$custom: #9062e5;
$custom-light: #b590ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9062e5",
  "rgb": {
    "r": 144,
    "g": 98,
    "b": 229
  },
  "hsl": {
    "h": 261.069,
    "s": 71.585,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60754,
    "c": 0.19092,
    "h": 296.5
  },
  "luminance": 0.20322
}

Semantic roles & 50–950 ramp

primary
#9062E5
secondary
#D8E8BB
accent
#D41290
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120D16
muted
#817D84

Preview Lab

Preview with #9062E5

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

Preview Lab → · Contrast checker → · Palette generator →

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