#9060E2#9060E2

#9060E2 is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.3% C 0.190 H 297.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#9060E2
RGBrgb(144, 96, 226)
HSLhsl(262, 69%, 63%)
HSVhsv(262, 58%, 89%)
CMYKcmyk(36.3%, 57.5%, 0%, 11.4%)
CIE-LABlab(51.59, 46.83, -59.46)
CIE-LCHlch(51.59, 75.69, 308.22°)
OKLaboklab(60.25% 0.0875 -0.1688)
OKLCHoklch(60.25% 0.19 297.4)
XYZxyz(29.4085, 19.7856, 74.2064)
Luminance0.1979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9060E2 #B2E260
analogous
#6071E2 #9060E2 #D160E2
triadic
#9060E2 #E29060 #60E290
tetradic
#9060E2 #E26071 #B2E260 #60E2D1
square
#9060E2 #E26071 #B2E260 #60E2D1
split-complementary
#9060E2 #E2D160 #71E260
monochromatic
#521FA9 #6C2CD9 #9060E2 #B494EB #D8C8F5

Accessibility & contrast

On white

4.24
#9060E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#9060E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9060E2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9060E2#FFFFFF#000000##000000
##9060E21.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#197BE6
Deuteranopia (green-blind)
#3079DF
Tritanopia (blue-blind)
#7D7B98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9060e2;
/* rgb */ color: rgb(144, 96, 226);
/* oklch */ color: oklch(60.3% 0.190 297.4);
Tailwind
colors: {
  custom: {
    50: '#b58fec',
    500: '#9060e2',
    950: '#000000',
  },
}
SCSS
$custom: #9060e2;
$custom-light: #b58fec;
$custom-dark: #000000;
JSON
{
  "hex": "#9060e2",
  "rgb": {
    "r": 144,
    "g": 96,
    "b": 226
  },
  "hsl": {
    "h": 262.154,
    "s": 69.149,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60251,
    "c": 0.19013,
    "h": 297.4
  },
  "luminance": 0.19786
}

Semantic roles & 50–950 ramp

primary
#9060E2
secondary
#D5E6B8
accent
#D1148B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9060E2

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

Preview Lab → · Contrast checker → · Palette generator →

#9060E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva