#623AD4#623AD4

#623AD4 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.4% C 0.220 H 287.3°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#623AD4
RGBrgb(98, 58, 212)
HSLhsl(256, 64%, 53%)
HSVhsv(256, 73%, 83%)
CMYKcmyk(53.8%, 72.6%, 0%, 16.9%)
CIE-LABlab(38.51, 54.45, -72.95)
CIE-LCHlch(38.51, 91.03, 306.74°)
OKLaboklab(49.4% 0.0653 -0.2098)
OKLCHoklch(49.4% 0.22 287.3)
XYZxyz(18.4302, 10.3753, 63.3061)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623AD4 #ACD43A
analogous
#3A5FD4 #623AD4 #AF3AD4
triadic
#623AD4 #D4623A #3AD462
tetradic
#623AD4 #D43A5F #ACD43A #3AD4AF
square
#623AD4 #D43A5F #ACD43A #3AD4AF
split-complementary
#623AD4 #D4AF3A #5FD43A
monochromatic
#331A79 #4825AB #623AD4 #8A6CDF #B29EEA

Accessibility & contrast

On white

6.83
#623AD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#623AD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #623AD4
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623AD4#FFFFFF#000000##FFFFFF
##623AD41.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED8
Deuteranopia (green-blind)
#0056D1
Tritanopia (blue-blind)
#326484
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #623ad4;
/* rgb */ color: rgb(98, 58, 212);
/* oklch */ color: oklch(49.4% 0.220 287.3);
Tailwind
colors: {
  custom: {
    50: '#9a74e2',
    500: '#623ad4',
    950: '#000000',
  },
}
SCSS
$custom: #623ad4;
$custom-light: #9a74e2;
$custom-dark: #000000;
JSON
{
  "hex": "#623ad4",
  "rgb": {
    "r": 98,
    "g": 58,
    "b": 212
  },
  "hsl": {
    "h": 255.584,
    "s": 64.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.49402,
    "c": 0.21972,
    "h": 287.3
  },
  "luminance": 0.10376
}

Semantic roles & 50–950 ramp

primary
#623AD4
secondary
#C5D694
accent
#E741BC
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #623AD4

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

Preview Lab → · Contrast checker → · Palette generator →

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