#9062EA#9062EA

#9062EA is a mid, vivid violet. Relative luminance 0.206; OKLCH L 61.1% C 0.197 H 295.6°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9062EA
RGBrgb(144, 98, 234)
HSLhsl(260, 76%, 65%)
HSVhsv(260, 58%, 92%)
CMYKcmyk(38.5%, 58.1%, 0%, 8.2%)
CIE-LABlab(52.51, 47.80, -62.48)
CIE-LCHlch(52.51, 78.67, 307.42°)
OKLaboklab(61.09% 0.0851 -0.1777)
OKLCHoklch(61.09% 0.197 295.6)
XYZxyz(30.7167, 20.6046, 80.1847)
Luminance0.2061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9062EA #BCEA62
analogous
#6278EA #9062EA #D462EA
triadic
#9062EA #EA9062 #62EA90
tetradic
#9062EA #EA6278 #BCEA62 #62EAD4
square
#9062EA #EA6278 #BCEA62 #62EAD4
split-complementary
#9062EA #EAD462 #78EA62
monochromatic
#4F19B9 #6A2CE3 #9062EA #B698F1 #DCCEF8

Accessibility & contrast

On white

4.10
#9062EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#9062EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9062EA
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9062EA#FFFFFF#000000##000000
##9062EA1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#087EEE
Deuteranopia (green-blind)
#277BE7
Tritanopia (blue-blind)
#7A7F9D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9062ea;
/* rgb */ color: rgb(144, 98, 234);
/* oklch */ color: oklch(61.1% 0.197 295.6);
Tailwind
colors: {
  custom: {
    50: '#b690f1',
    500: '#9062ea',
    950: '#000000',
  },
}
SCSS
$custom: #9062ea;
$custom-light: #b690f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9062ea",
  "rgb": {
    "r": 144,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 260.294,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61086,
    "c": 0.19697,
    "h": 295.6
  },
  "luminance": 0.20605
}

Semantic roles & 50–950 ramp

primary
#9062EA
secondary
#DBEBBD
accent
#D90D94
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9062EA

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

Preview Lab → · Contrast checker → · Palette generator →

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