#623ED8#623ED8

#623ED8 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.3% C 0.220 H 286.2°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#623ED8
RGBrgb(98, 62, 216)
HSLhsl(254, 66%, 55%)
HSVhsv(254, 71%, 85%)
CMYKcmyk(54.6%, 71.3%, 0%, 15.3%)
CIE-LABlab(39.58, 53.56, -73.49)
CIE-LCHlch(39.58, 90.94, 306.08°)
OKLaboklab(50.27% 0.0613 -0.2114)
OKLCHoklch(50.27% 0.22 286.2)
XYZxyz(19.1506, 10.9987, 66.0663)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623ED8 #B4D83E
analogous
#3E67D8 #623ED8 #AF3ED8
triadic
#623ED8 #D8623E #3ED862
tetradic
#623ED8 #D83E67 #B4D83E #3ED8AF
square
#623ED8 #D83E67 #B4D83E #3ED8AF
split-complementary
#623ED8 #D8AF3E #67D83E
monochromatic
#321A81 #4624B4 #623ED8 #8B71E2 #B5A4ED

Accessibility & contrast

On white

6.56
#623ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#623ED8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #623ED8
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623ED8#FFFFFF#000000##FFFFFF
##623ED81.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061DD
Deuteranopia (green-blind)
#0059D5
Tritanopia (blue-blind)
#2E6787
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #623ed8;
/* rgb */ color: rgb(98, 62, 216);
/* oklch */ color: oklch(50.3% 0.220 286.2);
Tailwind
colors: {
  custom: {
    50: '#9a77e5',
    500: '#623ed8',
    950: '#000000',
  },
}
SCSS
$custom: #623ed8;
$custom-light: #9a77e5;
$custom-dark: #000000;
JSON
{
  "hex": "#623ed8",
  "rgb": {
    "r": 98,
    "g": 62,
    "b": 216
  },
  "hsl": {
    "h": 254.026,
    "s": 66.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50267,
    "c": 0.22012,
    "h": 286.2
  },
  "luminance": 0.11
}

Semantic roles & 50–950 ramp

primary
#623ED8
secondary
#CAD998
accent
#E93EC1
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #623ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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