#9062DB#9062DB

#9062DB is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.1% C 0.179 H 298.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#9062DB
RGBrgb(144, 98, 219)
HSLhsl(263, 63%, 62%)
HSVhsv(263, 55%, 86%)
CMYKcmyk(34.2%, 55.3%, 0%, 14.1%)
CIE-LABlab(51.59, 43.94, -55.52)
CIE-LCHlch(51.59, 70.80, 308.36°)
OKLaboklab(60.11% 0.085 -0.1572)
OKLCHoklch(60.11% 0.179 298.4)
XYZxyz(28.6523, 19.7788, 69.3122)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9062DB #ADDB62
analogous
#6271DB #9062DB #CD62DB
triadic
#9062DB #DB9062 #62DB90
tetradic
#9062DB #DB6271 #ADDB62 #62DBCD
square
#9062DB #DB6271 #ADDB62 #62DBCD
split-complementary
#9062DB #DBCD62 #71DB62
monochromatic
#53249E #6D30D0 #9062DB #B394E6 #D6C6F2

Accessibility & contrast

On white

4.24
#9062DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#9062DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9062DB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9062DB#FFFFFF#000000##000000
##9062DB1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7BDF
Deuteranopia (green-blind)
#3D7AD8
Tritanopia (blue-blind)
#807B95
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9062db;
/* rgb */ color: rgb(144, 98, 219);
/* oklch */ color: oklch(60.1% 0.179 298.4);
Tailwind
colors: {
  custom: {
    50: '#b490e7',
    500: '#9062db',
    950: '#000000',
  },
}
SCSS
$custom: #9062db;
$custom-light: #b490e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9062db",
  "rgb": {
    "r": 144,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 262.81,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60107,
    "c": 0.17873,
    "h": 298.4
  },
  "luminance": 0.19779
}

Semantic roles & 50–950 ramp

primary
#9062DB
secondary
#D2E3B6
accent
#CA1B88
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110D16
muted
#807D84

Preview Lab

Preview with #9062DB

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

Preview Lab → · Contrast checker → · Palette generator →

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