#6222D3#6222D3

#6222D3 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.9% C 0.240 H 289.8°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#6222D3
RGBrgb(98, 34, 211)
HSLhsl(262, 72%, 48%)
HSVhsv(262, 84%, 83%)
CMYKcmyk(53.6%, 83.9%, 0%, 17.3%)
CIE-LABlab(34.89, 64.36, -78.32)
CIE-LCHlch(34.89, 101.37, 309.41°)
OKLaboklab(46.85% 0.0813 -0.2253)
OKLCHoklch(46.85% 0.24 289.8)
XYZxyz(17.3635, 8.4431, 62.3301)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6222D3 #93D322
analogous
#223AD3 #6222D3 #BA22D3
triadic
#6222D3 #D36222 #22D362
tetradic
#6222D3 #D3223A #93D322 #22D3BA
square
#6222D3 #D3223A #93D322 #22D3BA
split-complementary
#6222D3 #D3BA22 #3AD322
monochromatic
#31116A #4A1A9E #6222D3 #854FE3 #A984EB

Accessibility & contrast

On white

7.81
#6222D3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6222D3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6222D3
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6222D3#FFFFFF#000000##FFFFFF
##6222D31.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055D8
Deuteranopia (green-blind)
#004ED0
Tritanopia (blue-blind)
#355A7E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6222d3;
/* rgb */ color: rgb(98, 34, 211);
/* oklch */ color: oklch(46.9% 0.240 289.8);
Tailwind
colors: {
  custom: {
    50: '#9b68e2',
    500: '#6222d3',
    950: '#000000',
  },
}
SCSS
$custom: #6222d3;
$custom-light: #9b68e2;
$custom-dark: #000000;
JSON
{
  "hex": "#6222d3",
  "rgb": {
    "r": 98,
    "g": 34,
    "b": 211
  },
  "hsl": {
    "h": 261.695,
    "s": 72.245,
    "l": 48.039
  },
  "oklch": {
    "l": 0.46854,
    "c": 0.23953,
    "h": 289.8
  },
  "luminance": 0.08444
}

Semantic roles & 50–950 ramp

primary
#6222D3
secondary
#B5D47D
accent
#EF39AD
background
#FAF6FE
surface
#F4EBFC
border
#CEC6D5
text
#100716
muted
#7F7A84

Preview Lab

Preview with #6222D3

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

Preview Lab → · Contrast checker → · Palette generator →

#6222D3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva