#623AD2#623AD2

#623AD2 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.2% C 0.217 H 287.6°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#623AD2
RGBrgb(98, 58, 210)
HSLhsl(256, 63%, 53%)
HSVhsv(256, 72%, 82%)
CMYKcmyk(53.3%, 72.4%, 0%, 17.6%)
CIE-LABlab(38.33, 53.90, -72.08)
CIE-LCHlch(38.33, 90.00, 306.79°)
OKLaboklab(49.22% 0.0657 -0.2073)
OKLCHoklch(49.22% 0.217 287.6)
XYZxyz(18.1795, 10.2750, 61.9856)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623AD2 #AAD23A
analogous
#3A5ED2 #623AD2 #AE3AD2
triadic
#623AD2 #D2623A #3AD262
tetradic
#623AD2 #D23A5E #AAD23A #3AD2AE
square
#623AD2 #D23A5E #AAD23A #3AD2AE
split-complementary
#623AD2 #D2AE3A #5ED23A
monochromatic
#331B77 #4926A8 #623AD2 #8A6CDD #B19EE9

Accessibility & contrast

On white

6.87
#623AD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#623AD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #623AD2
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623AD2#FFFFFF#000000##FFFFFF
##623AD21.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED6
Deuteranopia (green-blind)
#0056CF
Tritanopia (blue-blind)
#346383
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #623ad2;
/* rgb */ color: rgb(98, 58, 210);
/* oklch */ color: oklch(49.2% 0.217 287.6);
Tailwind
colors: {
  custom: {
    50: '#9a74e1',
    500: '#623ad2',
    950: '#000000',
  },
}
SCSS
$custom: #623ad2;
$custom-light: #9a74e1;
$custom-dark: #000000;
JSON
{
  "hex": "#623ad2",
  "rgb": {
    "r": 98,
    "g": 58,
    "b": 210
  },
  "hsl": {
    "h": 255.789,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.49223,
    "c": 0.21745,
    "h": 287.6
  },
  "luminance": 0.10276
}

Semantic roles & 50–950 ramp

primary
#623AD2
secondary
#C4D593
accent
#E642BB
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #623AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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