#622DB7#622DB7

#622DB7 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.3% C 0.201 H 294.4°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#622DB7
RGBrgb(98, 45, 183)
HSLhsl(263, 61%, 45%)
HSVhsv(263, 75%, 72%)
CMYKcmyk(46.4%, 75.4%, 0%, 28.2%)
CIE-LABlab(33.76, 52.82, -63.79)
CIE-LCHlch(33.76, 82.82, 309.63°)
OKLaboklab(45.27% 0.0829 -0.1829)
OKLCHoklch(45.27% 0.201 294.4)
XYZxyz(14.5203, 7.8919, 45.5488)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#622DB7 #82B72D
analogous
#2D3DB7 #622DB7 #A72DB7
triadic
#622DB7 #B7622D #2DB762
tetradic
#622DB7 #B72D3D #82B72D #2DB7A7
square
#622DB7 #B72D3D #82B72D #2DB7A7
split-complementary
#622DB7 #B7A72D #3DB72D
monochromatic
#2D1555 #482186 #622DB7 #814ED3 #A47FDF

Accessibility & contrast

On white

8.14
#622DB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#622DB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #622DB7
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##622DB7#FFFFFF#000000##FFFFFF
##622DB71.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BB
Deuteranopia (green-blind)
#004DB4
Tritanopia (blue-blind)
#495270
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #622db7;
/* rgb */ color: rgb(98, 45, 183);
/* oklch */ color: oklch(45.3% 0.201 294.4);
Tailwind
colors: {
  custom: {
    50: '#976cce',
    500: '#622db7',
    950: '#000000',
  },
}
SCSS
$custom: #622db7;
$custom-light: #976cce;
$custom-dark: #000000;
JSON
{
  "hex": "#622db7",
  "rgb": {
    "r": 98,
    "g": 45,
    "b": 183
  },
  "hsl": {
    "h": 263.043,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45272,
    "c": 0.20078,
    "h": 294.4
  },
  "luminance": 0.07892
}

Semantic roles & 50–950 ramp

primary
#622DB7
secondary
#A9C878
accent
#E444A6
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #622DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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