#623AC5#623AC5

#623AC5 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.1% C 0.202 H 289.8°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#623AC5
RGBrgb(98, 58, 197)
HSLhsl(257, 55%, 50%)
HSVhsv(257, 71%, 77%)
CMYKcmyk(50.3%, 70.6%, 0%, 22.7%)
CIE-LABlab(37.21, 50.26, -66.37)
CIE-LCHlch(37.21, 83.25, 307.14°)
OKLaboklab(48.09% 0.0685 -0.1905)
OKLCHoklch(48.09% 0.202 289.8)
XYZxyz(16.6252, 9.6533, 53.7998)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623AC5 #9DC53A
analogous
#3A58C5 #623AC5 #A73AC5
triadic
#623AC5 #C5623A #3AC562
tetradic
#623AC5 #C53A58 #9DC53A #3AC5A7
square
#623AC5 #C53A58 #9DC53A #3AC5A7
split-complementary
#623AC5 #C5A73A #58C53A
monochromatic
#331E66 #4A2C96 #623AC5 #8869D3 #AD99E1

Accessibility & contrast

On white

7.17
#623AC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#623AC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623AC5
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623AC5#FFFFFF#000000##FFFFFF
##623AC51.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC9
Deuteranopia (green-blind)
#0054C2
Tritanopia (blue-blind)
#3F5E7B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #623ac5;
/* rgb */ color: rgb(98, 58, 197);
/* oklch */ color: oklch(48.1% 0.202 289.8);
Tailwind
colors: {
  custom: {
    50: '#9874d8',
    500: '#623ac5',
    950: '#000000',
  },
}
SCSS
$custom: #623ac5;
$custom-light: #9874d8;
$custom-dark: #000000;
JSON
{
  "hex": "#623ac5",
  "rgb": {
    "r": 98,
    "g": 58,
    "b": 197
  },
  "hsl": {
    "h": 257.266,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.48086,
    "c": 0.20243,
    "h": 289.8
  },
  "luminance": 0.09654
}

Semantic roles & 50–950 ramp

primary
#623AC5
secondary
#BBCD8E
accent
#DE4AB3
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #623AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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