#9062F8#9062F8

#9062F8 is a light, highly saturated violet. Relative luminance 0.214; OKLCH L 62.0% C 0.214 H 293.3°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9062F8
RGBrgb(144, 98, 248)
HSLhsl(258, 91%, 68%)
HSVhsv(258, 60%, 97%)
CMYKcmyk(41.9%, 60.5%, 0%, 2.7%)
CIE-LABlab(53.43, 51.48, -68.82)
CIE-LCHlch(53.43, 85.94, 306.80°)
OKLaboklab(62.05% 0.0845 -0.1963)
OKLCHoklch(62.05% 0.214 293.3)
XYZxyz(32.8080, 21.4411, 91.1987)
Luminance0.2144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9062F8 #CAF862
analogous
#627FF8 #9062F8 #DB62F8
triadic
#9062F8 #F89062 #62F890
tetradic
#9062F8 #F8627F #CAF862 #62F8DB
square
#9062F8 #F8627F #CAF862 #62F8DB
split-complementary
#9062F8 #F8DB62 #7FF862
monochromatic
#480AD6 #6727F5 #9062F8 #B99DFB #E3D7FD

Accessibility & contrast

On white

3.97
#9062F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#9062F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9062F8
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9062F8#FFFFFF#000000##000000
##9062F81.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FD
Deuteranopia (green-blind)
#007DF5
Tritanopia (blue-blind)
#7384A4
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9062f8;
/* rgb */ color: rgb(144, 98, 248);
/* oklch */ color: oklch(62.0% 0.214 293.3);
Tailwind
colors: {
  custom: {
    50: '#b791fb',
    500: '#9062f8',
    950: '#000000',
  },
}
SCSS
$custom: #9062f8;
$custom-light: #b791fb;
$custom-dark: #000000;
JSON
{
  "hex": "#9062f8",
  "rgb": {
    "r": 144,
    "g": 98,
    "b": 248
  },
  "hsl": {
    "h": 258.4,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.62046,
    "c": 0.21372,
    "h": 293.3
  },
  "luminance": 0.21442
}

Semantic roles & 50–950 ramp

primary
#9062F8
secondary
#E4F2C4
accent
#E6009F
background
#FBF9FF
surface
#F7F1FF
border
#D0CBD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #9062F8

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

Preview Lab → · Contrast checker → · Palette generator →

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