#9062E4#9062E4

#9062E4 is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.7% C 0.190 H 296.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9062E4
RGBrgb(144, 98, 228)
HSLhsl(261, 71%, 64%)
HSVhsv(261, 57%, 89%)
CMYKcmyk(36.8%, 57%, 0%, 10.6%)
CIE-LABlab(52.14, 46.25, -59.72)
CIE-LCHlch(52.14, 75.53, 307.75°)
OKLaboklab(60.69% 0.0851 -0.1695)
OKLCHoklch(60.69% 0.19 296.7)
XYZxyz(29.8693, 20.2656, 75.7217)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9062E4 #B6E462
analogous
#6275E4 #9062E4 #D162E4
triadic
#9062E4 #E49062 #62E490
tetradic
#9062E4 #E46275 #B6E462 #62E4D1
square
#9062E4 #E46275 #B6E462 #62E4D1
split-complementary
#9062E4 #E4D162 #75E462
monochromatic
#511EAE #6B2EDB #9062E4 #B596ED #DACAF6

Accessibility & contrast

On white

4.16
#9062E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#9062E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9062E4
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9062E4#FFFFFF#000000##000000
##9062E41.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D7DE8
Deuteranopia (green-blind)
#317BE1
Tritanopia (blue-blind)
#7C7D9A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9062e4;
/* rgb */ color: rgb(144, 98, 228);
/* oklch */ color: oklch(60.7% 0.190 296.7);
Tailwind
colors: {
  custom: {
    50: '#b590ed',
    500: '#9062e4',
    950: '#000000',
  },
}
SCSS
$custom: #9062e4;
$custom-light: #b590ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9062e4",
  "rgb": {
    "r": 144,
    "g": 98,
    "b": 228
  },
  "hsl": {
    "h": 261.231,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60688,
    "c": 0.18971,
    "h": 296.7
  },
  "luminance": 0.20266
}

Semantic roles & 50–950 ramp

primary
#9062E4
secondary
#D8E8BA
accent
#D3138F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120D16
muted
#817D84

Preview Lab

Preview with #9062E4

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

Preview Lab → · Contrast checker → · Palette generator →

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