#9062C8#9062C8

#9062C8 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 58.9% C 0.155 H 302.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9062C8
RGBrgb(144, 98, 200)
HSLhsl(267, 48%, 58%)
HSVhsv(267, 51%, 78%)
CMYKcmyk(28%, 51%, 0%, 21.6%)
CIE-LABlab(50.49, 39.18, -46.43)
CIE-LCHlch(50.49, 60.75, 310.15°)
OKLaboklab(58.95% 0.084 -0.1306)
OKLCHoklch(58.95% 0.155 302.7)
XYZxyz(26.2923, 18.8348, 56.8827)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9062C8 #9AC862
analogous
#6267C8 #9062C8 #C362C8
triadic
#9062C8 #C89062 #62C890
tetradic
#9062C8 #C86267 #9AC862 #62C8C3
square
#9062C8 #C86267 #9AC862 #62C8C3
split-complementary
#9062C8 #C8C362 #67C862
monochromatic
#542E82 #713DAF #9062C8 #B08FD8 #D0BDE8

Accessibility & contrast

On white

4.41
#9062C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#9062C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9062C8
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9062C8#FFFFFF#000000##000000
##9062C81.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4177CC
Deuteranopia (green-blind)
#4E78C6
Tritanopia (blue-blind)
#86758C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9062c8;
/* rgb */ color: rgb(144, 98, 200);
/* oklch */ color: oklch(58.9% 0.155 302.7);
Tailwind
colors: {
  custom: {
    50: '#b390d9',
    500: '#9062c8',
    950: '#000000',
  },
}
SCSS
$custom: #9062c8;
$custom-light: #b390d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9062c8",
  "rgb": {
    "r": 144,
    "g": 98,
    "b": 200
  },
  "hsl": {
    "h": 267.059,
    "s": 48.113,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58946,
    "c": 0.15527,
    "h": 302.7
  },
  "luminance": 0.18835
}

Semantic roles & 50–950 ramp

primary
#9062C8
secondary
#C5D7AF
accent
#D8509B
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C15
muted
#807D83

Preview Lab

Preview with #9062C8

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

Preview Lab → · Contrast checker → · Palette generator →

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