#9062E1#9062E1

#9062E1 is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.5% C 0.186 H 297.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9062E1
RGBrgb(144, 98, 225)
HSLhsl(262, 68%, 63%)
HSVhsv(262, 56%, 88%)
CMYKcmyk(36%, 56.4%, 0%, 11.8%)
CIE-LABlab(51.95, 45.47, -58.33)
CIE-LCHlch(51.95, 73.96, 307.94°)
OKLaboklab(60.49% 0.0851 -0.1655)
OKLCHoklch(60.49% 0.186 297.2)
XYZxyz(29.4565, 20.1005, 73.5474)
Luminance0.2010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9062E1 #B3E162
analogous
#6273E1 #9062E1 #CF62E1
triadic
#9062E1 #E19062 #62E190
tetradic
#9062E1 #E16273 #B3E162 #62E1CF
square
#9062E1 #E16273 #B3E162 #62E1CF
split-complementary
#9062E1 #E1CF62 #73E162
monochromatic
#5220A8 #6C2FD7 #9062E1 #B495EB #D9C9F5

Accessibility & contrast

On white

4.18
#9062E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#9062E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9062E1
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9062E1#FFFFFF#000000##000000
##9062E11.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#237CE5
Deuteranopia (green-blind)
#357ADE
Tritanopia (blue-blind)
#7D7C98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9062e1;
/* rgb */ color: rgb(144, 98, 225);
/* oklch */ color: oklch(60.5% 0.186 297.2);
Tailwind
colors: {
  custom: {
    50: '#b590eb',
    500: '#9062e1',
    950: '#000000',
  },
}
SCSS
$custom: #9062e1;
$custom-light: #b590eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9062e1",
  "rgb": {
    "r": 144,
    "g": 98,
    "b": 225
  },
  "hsl": {
    "h": 261.732,
    "s": 67.914,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60493,
    "c": 0.18606,
    "h": 297.2
  },
  "luminance": 0.20101
}

Semantic roles & 50–950 ramp

primary
#9062E1
secondary
#D6E6B9
accent
#D0168C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120D16
muted
#817D84

Preview Lab

Preview with #9062E1

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

Preview Lab → · Contrast checker → · Palette generator →

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