#623CD8#623CD8

#623CD8 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.0% C 0.222 H 286.4°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#623CD8
RGBrgb(98, 60, 216)
HSLhsl(255, 67%, 54%)
HSVhsv(255, 72%, 85%)
CMYKcmyk(54.6%, 72.2%, 0%, 15.3%)
CIE-LABlab(39.22, 54.58, -74.09)
CIE-LCHlch(39.22, 92.02, 306.38°)
OKLaboklab(50.01% 0.0628 -0.2131)
OKLCHoklch(50.01% 0.222 286.4)
XYZxyz(19.0438, 10.7852, 66.0307)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623CD8 #B2D83C
analogous
#3C64D8 #623CD8 #B03CD8
triadic
#623CD8 #D8623C #3CD862
tetradic
#623CD8 #D83C64 #B2D83C #3CD8B0
square
#623CD8 #D83C64 #B2D83C #3CD8B0
split-complementary
#623CD8 #D8B03C #64D83C
monochromatic
#331A80 #4724B3 #623CD8 #8B6FE2 #B4A2EC

Accessibility & contrast

On white

6.65
#623CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#623CD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #623CD8
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623CD8#FFFFFF#000000##FFFFFF
##623CD81.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060DD
Deuteranopia (green-blind)
#0058D5
Tritanopia (blue-blind)
#2E6687
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #623cd8;
/* rgb */ color: rgb(98, 60, 216);
/* oklch */ color: oklch(50.0% 0.222 286.4);
Tailwind
colors: {
  custom: {
    50: '#9a75e5',
    500: '#623cd8',
    950: '#000000',
  },
}
SCSS
$custom: #623cd8;
$custom-light: #9a75e5;
$custom-dark: #000000;
JSON
{
  "hex": "#623cd8",
  "rgb": {
    "r": 98,
    "g": 60,
    "b": 216
  },
  "hsl": {
    "h": 254.615,
    "s": 66.667,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50011,
    "c": 0.22222,
    "h": 286.4
  },
  "luminance": 0.10786
}

Semantic roles & 50–950 ramp

primary
#623CD8
secondary
#C9D997
accent
#EA3EC0
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #623CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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