#9062DD#9062DD

#9062DD is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.2% C 0.181 H 298.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#9062DD
RGBrgb(144, 98, 221)
HSLhsl(262, 64%, 63%)
HSVhsv(262, 56%, 87%)
CMYKcmyk(34.8%, 55.7%, 0%, 13.3%)
CIE-LABlab(51.71, 44.45, -56.46)
CIE-LCHlch(51.71, 71.85, 308.21°)
OKLaboklab(60.24% 0.0851 -0.16)
OKLCHoklch(60.24% 0.181 298)
XYZxyz(28.9172, 19.8848, 70.7072)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9062DD #AFDD62
analogous
#6271DD #9062DD #CD62DD
triadic
#9062DD #DD9062 #62DD90
tetradic
#9062DD #DD6271 #AFDD62 #62DDCD
square
#9062DD #DD6271 #AFDD62 #62DDCD
split-complementary
#9062DD #DDCD62 #71DD62
monochromatic
#5223A2 #6C30D2 #9062DD #B494E8 #D7C7F3

Accessibility & contrast

On white

4.22
#9062DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#9062DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9062DD
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9062DD#FFFFFF#000000##000000
##9062DD1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7BE1
Deuteranopia (green-blind)
#3A7ADA
Tritanopia (blue-blind)
#7F7B96
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9062dd;
/* rgb */ color: rgb(144, 98, 221);
/* oklch */ color: oklch(60.2% 0.181 298.0);
Tailwind
colors: {
  custom: {
    50: '#b590e8',
    500: '#9062dd',
    950: '#000000',
  },
}
SCSS
$custom: #9062dd;
$custom-light: #b590e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9062dd",
  "rgb": {
    "r": 144,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 262.439,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60235,
    "c": 0.18117,
    "h": 298
  },
  "luminance": 0.19885
}

Semantic roles & 50–950 ramp

primary
#9062DD
secondary
#D3E4B7
accent
#CC1989
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110D16
muted
#807D84

Preview Lab

Preview with #9062DD

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

Preview Lab → · Contrast checker → · Palette generator →

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