#6223D4#6223D4

#6223D4 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 47.0% C 0.240 H 289.6°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#6223D4
RGBrgb(98, 35, 212)
HSLhsl(261, 72%, 48%)
HSVhsv(261, 83%, 83%)
CMYKcmyk(53.8%, 83.5%, 0%, 16.9%)
CIE-LABlab(35.11, 64.26, -78.55)
CIE-LCHlch(35.11, 101.48, 309.29°)
OKLaboklab(47.03% 0.0804 -0.226)
OKLCHoklch(47.03% 0.24 289.6)
XYZxyz(17.5182, 8.5514, 63.0021)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6223D4 #95D423
analogous
#233CD4 #6223D4 #BA23D4
triadic
#6223D4 #D46223 #23D462
tetradic
#6223D4 #D4233C #95D423 #23D4BA
square
#6223D4 #D4233C #95D423 #23D4BA
split-complementary
#6223D4 #D4BA23 #3CD423
monochromatic
#31126B #4A1A9F #6223D4 #8552E2 #AA86EB

Accessibility & contrast

On white

7.75
#6223D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6223D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6223D4
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6223D4#FFFFFF#000000##FFFFFF
##6223D41.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056D9
Deuteranopia (green-blind)
#004ED1
Tritanopia (blue-blind)
#345A7F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6223d4;
/* rgb */ color: rgb(98, 35, 212);
/* oklch */ color: oklch(47.0% 0.240 289.6);
Tailwind
colors: {
  custom: {
    50: '#9b69e3',
    500: '#6223d4',
    950: '#000000',
  },
}
SCSS
$custom: #6223d4;
$custom-light: #9b69e3;
$custom-dark: #000000;
JSON
{
  "hex": "#6223d4",
  "rgb": {
    "r": 98,
    "g": 35,
    "b": 212
  },
  "hsl": {
    "h": 261.356,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47033,
    "c": 0.23985,
    "h": 289.6
  },
  "luminance": 0.08552
}

Semantic roles & 50–950 ramp

primary
#6223D4
secondary
#B6D47E
accent
#EE39AE
background
#FAF6FE
surface
#F4EBFC
border
#CEC6D5
text
#100716
muted
#7F7A84

Preview Lab

Preview with #6223D4

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

Preview Lab → · Contrast checker → · Palette generator →

#6223D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva