#623AC6#623AC6

#623AC6 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.2% C 0.204 H 289.6°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#623AC6
RGBrgb(98, 58, 198)
HSLhsl(257, 55%, 50%)
HSVhsv(257, 71%, 78%)
CMYKcmyk(50.5%, 70.7%, 0%, 22.4%)
CIE-LABlab(37.30, 50.54, -66.81)
CIE-LCHlch(37.30, 83.78, 307.11°)
OKLaboklab(48.17% 0.0683 -0.1918)
OKLCHoklch(48.17% 0.204 289.6)
XYZxyz(16.7402, 9.6993, 54.4052)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623AC6 #9EC63A
analogous
#3A58C6 #623AC6 #A83AC6
triadic
#623AC6 #C6623A #3AC662
tetradic
#623AC6 #C63A58 #9EC63A #3AC6A8
square
#623AC6 #C63A58 #9EC63A #3AC6A8
split-complementary
#623AC6 #C6A83A #58C63A
monochromatic
#331E68 #4A2C97 #623AC6 #8869D4 #AE99E1

Accessibility & contrast

On white

7.14
#623AC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#623AC6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623AC6
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623AC6#FFFFFF#000000##FFFFFF
##623AC61.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACA
Deuteranopia (green-blind)
#0054C3
Tritanopia (blue-blind)
#3F5E7C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #623ac6;
/* rgb */ color: rgb(98, 58, 198);
/* oklch */ color: oklch(48.2% 0.204 289.6);
Tailwind
colors: {
  custom: {
    50: '#9874d8',
    500: '#623ac6',
    950: '#000000',
  },
}
SCSS
$custom: #623ac6;
$custom-light: #9874d8;
$custom-dark: #000000;
JSON
{
  "hex": "#623ac6",
  "rgb": {
    "r": 98,
    "g": 58,
    "b": 198
  },
  "hsl": {
    "h": 257.143,
    "s": 55.118,
    "l": 50.196
  },
  "oklch": {
    "l": 0.48172,
    "c": 0.2036,
    "h": 289.6
  },
  "luminance": 0.097
}

Semantic roles & 50–950 ramp

primary
#623AC6
secondary
#BBCD8F
accent
#DE49B4
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #623AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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