#6226C3#6226C3

#6226C3 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.6% C 0.220 H 292.6°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#6226C3
RGBrgb(98, 38, 195)
HSLhsl(263, 67%, 46%)
HSVhsv(263, 81%, 76%)
CMYKcmyk(49.7%, 80.5%, 0%, 23.5%)
CIE-LABlab(33.82, 58.88, -70.76)
CIE-LCHlch(33.82, 92.05, 309.76°)
OKLaboklab(45.65% 0.0846 -0.2032)
OKLCHoklch(45.65% 0.22 292.6)
XYZxyz(15.5777, 7.9225, 52.3276)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6226C3 #87C326
analogous
#2638C3 #6226C3 #B026C3
triadic
#6226C3 #C36226 #26C362
tetradic
#6226C3 #C32638 #87C326 #26C3B0
square
#6226C3 #C32638 #87C326 #26C3B0
split-complementary
#6226C3 #C3B026 #38C326
monochromatic
#2F125D #481C90 #6226C3 #824ADC #A57EE6

Accessibility & contrast

On white

8.13
#6226C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#6226C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6226C3
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6226C3#FFFFFF#000000##FFFFFF
##6226C31.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C7
Deuteranopia (green-blind)
#004CC0
Tritanopia (blue-blind)
#425476
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6226c3;
/* rgb */ color: rgb(98, 38, 195);
/* oklch */ color: oklch(45.6% 0.220 292.6);
Tailwind
colors: {
  custom: {
    50: '#9969d6',
    500: '#6226c3',
    950: '#000000',
  },
}
SCSS
$custom: #6226c3;
$custom-light: #9969d6;
$custom-dark: #000000;
JSON
{
  "hex": "#6226c3",
  "rgb": {
    "r": 98,
    "g": 38,
    "b": 195
  },
  "hsl": {
    "h": 262.93,
    "s": 67.382,
    "l": 45.686
  },
  "oklch": {
    "l": 0.4565,
    "c": 0.22014,
    "h": 292.6
  },
  "luminance": 0.07923
}

Semantic roles & 50–950 ramp

primary
#6226C3
secondary
#ADCE77
accent
#EA3EA8
background
#FAF6FD
surface
#F3EBFA
border
#CDC6D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6226C3

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

Preview Lab → · Contrast checker → · Palette generator →

#6226C3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva