#623AB7#623AB7

#623AB7 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.9% C 0.186 H 292.4°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#623AB7
RGBrgb(98, 58, 183)
HSLhsl(259, 52%, 47%)
HSVhsv(259, 68%, 72%)
CMYKcmyk(46.4%, 68.3%, 0%, 28.2%)
CIE-LABlab(36.06, 46.36, -60.02)
CIE-LCHlch(36.06, 75.84, 307.68°)
OKLaboklab(46.91% 0.0709 -0.1719)
OKLCHoklch(46.91% 0.186 292.4)
XYZxyz(15.0949, 9.0412, 45.7404)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623AB7 #8FB73A
analogous
#3A51B7 #623AB7 #A13AB7
triadic
#623AB7 #B7623A #3AB762
tetradic
#623AB7 #B73A51 #8FB73A #3AB7A1
square
#623AB7 #B73A51 #8FB73A #3AB7A1
split-complementary
#623AB7 #B7A13A #51B73A
monochromatic
#301D5A #492B89 #623AB7 #8461CD #A890DC

Accessibility & contrast

On white

7.48
#623AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#623AB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623AB7
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623AB7#FFFFFF#000000##FFFFFF
##623AB71.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BB
Deuteranopia (green-blind)
#0052B4
Tritanopia (blue-blind)
#485974
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #623ab7;
/* rgb */ color: rgb(98, 58, 183);
/* oklch */ color: oklch(46.9% 0.186 292.4);
Tailwind
colors: {
  custom: {
    50: '#9673ce',
    500: '#623ab7',
    950: '#000000',
  },
}
SCSS
$custom: #623ab7;
$custom-light: #9673ce;
$custom-dark: #000000;
JSON
{
  "hex": "#623ab7",
  "rgb": {
    "r": 98,
    "g": 58,
    "b": 183
  },
  "hsl": {
    "h": 259.2,
    "s": 51.867,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46909,
    "c": 0.18594,
    "h": 292.4
  },
  "luminance": 0.09042
}

Semantic roles & 50–950 ramp

primary
#623AB7
secondary
#B2C786
accent
#DB4CAE
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #623AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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