#9062EC#9062EC

#9062EC is a mid, vivid violet. Relative luminance 0.207; OKLCH L 61.2% C 0.199 H 295.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9062EC
RGBrgb(144, 98, 236)
HSLhsl(260, 78%, 65%)
HSVhsv(260, 58%, 93%)
CMYKcmyk(39%, 58.5%, 0%, 7.5%)
CIE-LABlab(52.64, 48.32, -63.40)
CIE-LCHlch(52.64, 79.71, 307.32°)
OKLaboklab(61.22% 0.085 -0.1803)
OKLCHoklch(61.22% 0.199 295.2)
XYZxyz(31.0056, 20.7201, 81.7064)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9062EC #BEEC62
analogous
#6279EC #9062EC #D562EC
triadic
#9062EC #EC9062 #62EC90
tetradic
#9062EC #EC6279 #BEEC62 #62ECD5
square
#9062EC #EC6279 #BEEC62 #62ECD5
split-complementary
#9062EC #ECD562 #79EC62
monochromatic
#4E17BD #692BE5 #9062EC #B799F3 #DDCFF9

Accessibility & contrast

On white

4.08
#9062EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#9062EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9062EC
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9062EC#FFFFFF#000000##000000
##9062EC1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF0
Deuteranopia (green-blind)
#227CE9
Tritanopia (blue-blind)
#79809E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9062ec;
/* rgb */ color: rgb(144, 98, 236);
/* oklch */ color: oklch(61.2% 0.199 295.2);
Tailwind
colors: {
  custom: {
    50: '#b690f3',
    500: '#9062ec',
    950: '#000000',
  },
}
SCSS
$custom: #9062ec;
$custom-light: #b690f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9062ec",
  "rgb": {
    "r": 144,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 260,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.61221,
    "c": 0.19938,
    "h": 295.2
  },
  "luminance": 0.20721
}

Semantic roles & 50–950 ramp

primary
#9062EC
secondary
#DDECBE
accent
#DB0B95
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9062EC

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

Preview Lab → · Contrast checker → · Palette generator →

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