#9062EB#9062EB

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

Color values

HEX#9062EB
RGBrgb(144, 98, 235)
HSLhsl(260, 77%, 65%)
HSVhsv(260, 58%, 92%)
CMYKcmyk(38.7%, 58.3%, 0%, 7.8%)
CIE-LABlab(52.58, 48.06, -62.94)
CIE-LCHlch(52.58, 79.19, 307.37°)
OKLaboklab(61.15% 0.085 -0.179)
OKLCHoklch(61.15% 0.198 295.4)
XYZxyz(30.8608, 20.6622, 80.9434)
Luminance0.2066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9062EB #BDEB62
analogous
#6278EB #9062EB #D462EB
triadic
#9062EB #EB9062 #62EB90
tetradic
#9062EB #EB6278 #BDEB62 #62EBD4
square
#9062EB #EB6278 #BDEB62 #62EBD4
split-complementary
#9062EB #EBD462 #78EB62
monochromatic
#4F18BB #6A2CE4 #9062EB #B698F2 #DDCFF9

Accessibility & contrast

On white

4.09
#9062EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#9062EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9062EB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9062EB#FFFFFF#000000##000000
##9062EB1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#037EEF
Deuteranopia (green-blind)
#257BE8
Tritanopia (blue-blind)
#79809D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9062eb;
/* rgb */ color: rgb(144, 98, 235);
/* oklch */ color: oklch(61.2% 0.198 295.4);
Tailwind
colors: {
  custom: {
    50: '#b690f2',
    500: '#9062eb',
    950: '#000000',
  },
}
SCSS
$custom: #9062eb;
$custom-light: #b690f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9062eb",
  "rgb": {
    "r": 144,
    "g": 98,
    "b": 235
  },
  "hsl": {
    "h": 260.146,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.61153,
    "c": 0.19817,
    "h": 295.4
  },
  "luminance": 0.20663
}

Semantic roles & 50–950 ramp

primary
#9062EB
secondary
#DCEBBD
accent
#DA0C95
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9062EB

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

Preview Lab → · Contrast checker → · Palette generator →

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