#9062F5#9062F5

#9062F5 is a mid, highly saturated violet. Relative luminance 0.213; OKLCH L 61.8% C 0.210 H 293.8°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9062F5
RGBrgb(144, 98, 245)
HSLhsl(259, 88%, 67%)
HSVhsv(259, 60%, 96%)
CMYKcmyk(41.2%, 60%, 0%, 3.9%)
CIE-LABlab(53.23, 50.69, -67.48)
CIE-LCHlch(53.23, 84.39, 306.91°)
OKLaboklab(61.84% 0.0847 -0.1923)
OKLCHoklch(61.84% 0.21 293.8)
XYZxyz(32.3463, 21.2564, 88.7671)
Luminance0.2126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9062F5 #C7F562
analogous
#627DF5 #9062F5 #DA62F5
triadic
#9062F5 #F59062 #62F590
tetradic
#9062F5 #F5627D #C7F562 #62F5DA
square
#9062F5 #F5627D #C7F562 #62F5DA
split-complementary
#9062F5 #F5DA62 #7DF562
monochromatic
#4A0DCF #6728F1 #9062F5 #B99CF9 #E1D5FC

Accessibility & contrast

On white

4.00
#9062F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#9062F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9062F5
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9062F5#FFFFFF#000000##000000
##9062F51.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FA
Deuteranopia (green-blind)
#007DF2
Tritanopia (blue-blind)
#7583A2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9062f5;
/* rgb */ color: rgb(144, 98, 245);
/* oklch */ color: oklch(61.8% 0.210 293.8);
Tailwind
colors: {
  custom: {
    50: '#b790f9',
    500: '#9062f5',
    950: '#000000',
  },
}
SCSS
$custom: #9062f5;
$custom-light: #b790f9;
$custom-dark: #000000;
JSON
{
  "hex": "#9062f5",
  "rgb": {
    "r": 144,
    "g": 98,
    "b": 245
  },
  "hsl": {
    "h": 258.776,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.61836,
    "c": 0.21016,
    "h": 293.8
  },
  "luminance": 0.21257
}

Semantic roles & 50–950 ramp

primary
#9062F5
secondary
#E2F1C2
accent
#E5019D
background
#FBF9FF
surface
#F7F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9062F5

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

Preview Lab → · Contrast checker → · Palette generator →

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