#9062F6#9062F6

#9062F6 is a mid, highly saturated violet. Relative luminance 0.213; OKLCH L 61.9% C 0.211 H 293.6°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9062F6
RGBrgb(144, 98, 246)
HSLhsl(259, 89%, 67%)
HSVhsv(259, 60%, 96%)
CMYKcmyk(41.5%, 60.2%, 0%, 3.5%)
CIE-LABlab(53.30, 50.95, -67.93)
CIE-LCHlch(53.30, 84.91, 306.87°)
OKLaboklab(61.91% 0.0846 -0.1937)
OKLCHoklch(61.91% 0.211 293.6)
XYZxyz(32.4994, 21.3176, 89.5733)
Luminance0.2132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9062F6 #C8F662
analogous
#627EF6 #9062F6 #DA62F6
triadic
#9062F6 #F69062 #62F690
tetradic
#9062F6 #F6627E #C8F662 #62F6DA
square
#9062F6 #F6627E #C8F662 #62F6DA
split-complementary
#9062F6 #F6DA62 #7EF662
monochromatic
#490CD2 #6728F3 #9062F6 #B99CF9 #E2D6FD

Accessibility & contrast

On white

3.99
#9062F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#9062F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9062F6
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9062F6#FFFFFF#000000##000000
##9062F61.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FB
Deuteranopia (green-blind)
#007DF3
Tritanopia (blue-blind)
#7483A3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9062f6;
/* rgb */ color: rgb(144, 98, 246);
/* oklch */ color: oklch(61.9% 0.211 293.6);
Tailwind
colors: {
  custom: {
    50: '#b791fa',
    500: '#9062f6',
    950: '#000000',
  },
}
SCSS
$custom: #9062f6;
$custom-light: #b791fa;
$custom-dark: #000000;
JSON
{
  "hex": "#9062f6",
  "rgb": {
    "r": 144,
    "g": 98,
    "b": 246
  },
  "hsl": {
    "h": 258.649,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.61906,
    "c": 0.21134,
    "h": 293.6
  },
  "luminance": 0.21318
}

Semantic roles & 50–950 ramp

primary
#9062F6
secondary
#E3F1C3
accent
#E6009E
background
#FBF9FF
surface
#F7F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9062F6

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

Preview Lab → · Contrast checker → · Palette generator →

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