#622DB8#622DB8

#622DB8 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.4% C 0.202 H 294.2°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#622DB8
RGBrgb(98, 45, 184)
HSLhsl(263, 61%, 45%)
HSVhsv(263, 76%, 72%)
CMYKcmyk(46.7%, 75.5%, 0%, 27.8%)
CIE-LABlab(33.84, 53.08, -64.24)
CIE-LCHlch(33.84, 83.33, 309.57°)
OKLaboklab(45.36% 0.0826 -0.1842)
OKLCHoklch(45.36% 0.202 294.2)
XYZxyz(14.6247, 7.9337, 46.0989)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#622DB8 #83B82D
analogous
#2D3DB8 #622DB8 #A82DB8
triadic
#622DB8 #B8622D #2DB862
tetradic
#622DB8 #B82D3D #83B82D #2DB8A8
square
#622DB8 #B82D3D #83B82D #2DB8A8
split-complementary
#622DB8 #B8A82D #3DB82D
monochromatic
#2E1556 #482187 #622DB8 #814ED4 #A480E0

Accessibility & contrast

On white

8.12
#622DB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#622DB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #622DB8
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##622DB8#FFFFFF#000000##FFFFFF
##622DB81.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BC
Deuteranopia (green-blind)
#004DB5
Tritanopia (blue-blind)
#485371
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #622db8;
/* rgb */ color: rgb(98, 45, 184);
/* oklch */ color: oklch(45.4% 0.202 294.2);
Tailwind
colors: {
  custom: {
    50: '#976cce',
    500: '#622db8',
    950: '#000000',
  },
}
SCSS
$custom: #622db8;
$custom-light: #976cce;
$custom-dark: #000000;
JSON
{
  "hex": "#622db8",
  "rgb": {
    "r": 98,
    "g": 45,
    "b": 184
  },
  "hsl": {
    "h": 262.878,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45361,
    "c": 0.20188,
    "h": 294.2
  },
  "luminance": 0.07934
}

Semantic roles & 50–950 ramp

primary
#622DB8
secondary
#AAC978
accent
#E444A7
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #622DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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