#622AC5#622AC5

#622AC5 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.2% C 0.219 H 291.8°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#622AC5
RGBrgb(98, 42, 197)
HSLhsl(262, 65%, 47%)
HSVhsv(262, 79%, 77%)
CMYKcmyk(50.3%, 78.7%, 0%, 22.7%)
CIE-LABlab(34.57, 57.78, -70.71)
CIE-LCHlch(34.57, 91.31, 309.25°)
OKLaboklab(46.22% 0.0812 -0.2031)
OKLCHoklch(46.22% 0.219 291.8)
XYZxyz(15.9402, 8.2832, 53.5714)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#622AC5 #8DC52A
analogous
#2A40C5 #622AC5 #B02AC5
triadic
#622AC5 #C5622A #2AC562
tetradic
#622AC5 #C52A40 #8DC52A #2AC5B0
square
#622AC5 #C52A40 #8DC52A #2AC5B0
split-complementary
#622AC5 #C5B02A #40C52A
monochromatic
#301460 #491F93 #622AC5 #8352DA #A785E5

Accessibility & contrast

On white

7.90
#622AC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#622AC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #622AC5
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##622AC5#FFFFFF#000000##FFFFFF
##622AC51.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C9
Deuteranopia (green-blind)
#004EC2
Tritanopia (blue-blind)
#405778
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #622ac5;
/* rgb */ color: rgb(98, 42, 197);
/* oklch */ color: oklch(46.2% 0.219 291.8);
Tailwind
colors: {
  custom: {
    50: '#996bd8',
    500: '#622ac5',
    950: '#000000',
  },
}
SCSS
$custom: #622ac5;
$custom-light: #996bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#622ac5",
  "rgb": {
    "r": 98,
    "g": 42,
    "b": 197
  },
  "hsl": {
    "h": 261.677,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.46224,
    "c": 0.21876,
    "h": 291.8
  },
  "luminance": 0.08284
}

Semantic roles & 50–950 ramp

primary
#622AC5
secondary
#B1CE7D
accent
#E840AB
background
#FAF6FD
surface
#F3ECFB
border
#CDC7D4
text
#0F0715
muted
#7F7A83

Preview Lab

Preview with #622AC5

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

Preview Lab → · Contrast checker → · Palette generator →

#622AC5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva