#623AA7#623AA7

#623AA7 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.6% C 0.167 H 296.0°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#623AA7
RGBrgb(98, 58, 167)
HSLhsl(262, 48%, 44%)
HSVhsv(262, 65%, 65%)
CMYKcmyk(41.3%, 65.3%, 0%, 34.5%)
CIE-LABlab(34.83, 41.94, -52.51)
CIE-LCHlch(34.83, 67.21, 308.62°)
OKLaboklab(45.63% 0.073 -0.1498)
OKLCHoklch(45.63% 0.167 296)
XYZxyz(13.5233, 8.4125, 37.4630)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623AA7 #7FA73A
analogous
#3A49A7 #623AA7 #993AA7
triadic
#623AA7 #A7623A #3AA762
tetradic
#623AA7 #A73A49 #7FA73A #3AA799
square
#623AA7 #A73A49 #7FA73A #3AA799
split-complementary
#623AA7 #A7993A #49A73A
monochromatic
#2D1A4C #472A7A #623AA7 #8159C5 #A386D5

Accessibility & contrast

On white

7.83
#623AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#623AA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623AA7
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623AA7#FFFFFF#000000##FFFFFF
##623AA71.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AA
Deuteranopia (green-blind)
#0050A5
Tritanopia (blue-blind)
#50536B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #623aa7;
/* rgb */ color: rgb(98, 58, 167);
/* oklch */ color: oklch(45.6% 0.167 296.0);
Tailwind
colors: {
  custom: {
    50: '#9473c2',
    500: '#623aa7',
    950: '#000000',
  },
}
SCSS
$custom: #623aa7;
$custom-light: #9473c2;
$custom-dark: #000000;
JSON
{
  "hex": "#623aa7",
  "rgb": {
    "r": 98,
    "g": 58,
    "b": 167
  },
  "hsl": {
    "h": 262.018,
    "s": 48.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45632,
    "c": 0.16664,
    "h": 296
  },
  "luminance": 0.08413
}

Semantic roles & 50–950 ramp

primary
#623AA7
secondary
#A7BF7E
accent
#D850A6
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #623AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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