#623AAA#623AAA

#623AAA is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.9% C 0.170 H 295.3°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#623AAA
RGBrgb(98, 58, 170)
HSLhsl(261, 49%, 45%)
HSVhsv(261, 66%, 67%)
CMYKcmyk(42.4%, 65.9%, 0%, 33.3%)
CIE-LABlab(35.05, 42.76, -53.94)
CIE-LCHlch(35.05, 68.84, 308.41°)
OKLaboklab(45.87% 0.0727 -0.154)
OKLCHoklch(45.87% 0.17 295.3)
XYZxyz(13.8038, 8.5247, 38.9406)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623AAA #82AA3A
analogous
#3A4AAA #623AAA #9A3AAA
triadic
#623AAA #AA623A #3AAA62
tetradic
#623AAA #AA3A4A #82AA3A #3AAA9A
square
#623AAA #AA3A4A #82AA3A #3AAA9A
split-complementary
#623AAA #AA9A3A #4AAA3A
monochromatic
#2D1B4F #482A7C #623AAA #815AC7 #A488D6

Accessibility & contrast

On white

7.76
#623AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#623AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623AAA
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623AAA#FFFFFF#000000##FFFFFF
##623AAA1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AD
Deuteranopia (green-blind)
#0051A8
Tritanopia (blue-blind)
#4F546D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #623aaa;
/* rgb */ color: rgb(98, 58, 170);
/* oklch */ color: oklch(45.9% 0.170 295.3);
Tailwind
colors: {
  custom: {
    50: '#9473c4',
    500: '#623aaa',
    950: '#000000',
  },
}
SCSS
$custom: #623aaa;
$custom-light: #9473c4;
$custom-dark: #000000;
JSON
{
  "hex": "#623aaa",
  "rgb": {
    "r": 98,
    "g": 58,
    "b": 170
  },
  "hsl": {
    "h": 261.429,
    "s": 49.123,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45866,
    "c": 0.1703,
    "h": 295.3
  },
  "luminance": 0.08525
}

Semantic roles & 50–950 ramp

primary
#623AAA
secondary
#A9C17F
accent
#D94FA8
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #623AAA

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

Preview Lab → · Contrast checker → · Palette generator →

#623AAA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva