#6225C6#6225C6

#6225C6 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.8% C 0.224 H 292.1°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#6225C6
RGBrgb(98, 37, 198)
HSLhsl(263, 69%, 46%)
HSVhsv(263, 81%, 78%)
CMYKcmyk(50.5%, 81.3%, 0%, 22.4%)
CIE-LABlab(33.98, 60.02, -72.26)
CIE-LCHlch(33.98, 93.94, 309.71°)
OKLaboklab(45.84% 0.0842 -0.2076)
OKLCHoklch(45.84% 0.224 292.1)
XYZxyz(15.8887, 7.9964, 54.1214)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6225C6 #89C625
analogous
#2538C6 #6225C6 #B225C6
triadic
#6225C6 #C66225 #25C662
tetradic
#6225C6 #C62538 #89C625 #25C6B2
square
#6225C6 #C62538 #89C625 #25C6B2
split-complementary
#6225C6 #C6B225 #38C625
monochromatic
#2F125F #481B92 #6225C6 #824BDD #A67EE7

Accessibility & contrast

On white

8.08
#6225C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6225C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6225C6
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6225C6#FFFFFF#000000##FFFFFF
##6225C61.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CA
Deuteranopia (green-blind)
#004DC3
Tritanopia (blue-blind)
#405577
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6225c6;
/* rgb */ color: rgb(98, 37, 198);
/* oklch */ color: oklch(45.8% 0.224 292.1);
Tailwind
colors: {
  custom: {
    50: '#9968d9',
    500: '#6225c6',
    950: '#000000',
  },
}
SCSS
$custom: #6225c6;
$custom-light: #9968d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6225c6",
  "rgb": {
    "r": 98,
    "g": 37,
    "b": 198
  },
  "hsl": {
    "h": 262.733,
    "s": 68.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45843,
    "c": 0.22406,
    "h": 292.1
  },
  "luminance": 0.07997
}

Semantic roles & 50–950 ramp

primary
#6225C6
secondary
#AECF77
accent
#EB3CA9
background
#FAF6FD
surface
#F4EBFB
border
#CEC6D4
text
#0F0715
muted
#7F7A83

Preview Lab

Preview with #6225C6

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

Preview Lab → · Contrast checker → · Palette generator →

#6225C6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva