#623ACC#623ACC

#623ACC is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.7% C 0.211 H 288.6°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#623ACC
RGBrgb(98, 58, 204)
HSLhsl(256, 59%, 51%)
HSVhsv(256, 72%, 80%)
CMYKcmyk(52%, 71.6%, 0%, 20%)
CIE-LABlab(37.81, 52.22, -69.47)
CIE-LCHlch(37.81, 86.90, 306.93°)
OKLaboklab(48.69% 0.067 -0.1996)
OKLCHoklch(48.69% 0.211 288.6)
XYZxyz(17.4460, 9.9816, 58.1224)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623ACC #A4CC3A
analogous
#3A5BCC #623ACC #AB3ACC
triadic
#623ACC #CC623A #3ACC62
tetradic
#623ACC #CC3A5B #A4CC3A #3ACCAB
square
#623ACC #CC3A5B #A4CC3A #3ACCAB
split-complementary
#623ACC #CCAB3A #5BCC3A
monochromatic
#331D6F #4A29A0 #623ACC #896BD9 #AF9BE5

Accessibility & contrast

On white

7.01
#623ACC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#623ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #623ACC
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623ACC#FFFFFF#000000##FFFFFF
##623ACC1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD0
Deuteranopia (green-blind)
#0055C9
Tritanopia (blue-blind)
#3A617F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #623acc;
/* rgb */ color: rgb(98, 58, 204);
/* oklch */ color: oklch(48.7% 0.211 288.6);
Tailwind
colors: {
  custom: {
    50: '#9974dd',
    500: '#623acc',
    950: '#000000',
  },
}
SCSS
$custom: #623acc;
$custom-light: #9974dd;
$custom-dark: #000000;
JSON
{
  "hex": "#623acc",
  "rgb": {
    "r": 98,
    "g": 58,
    "b": 204
  },
  "hsl": {
    "h": 256.438,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.48693,
    "c": 0.21054,
    "h": 288.6
  },
  "luminance": 0.09982
}

Semantic roles & 50–950 ramp

primary
#623ACC
secondary
#BFD191
accent
#E246B7
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #623ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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