#623ED7#623ED7

#623ED7 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.2% C 0.219 H 286.3°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#623ED7
RGBrgb(98, 62, 215)
HSLhsl(254, 66%, 54%)
HSVhsv(254, 71%, 84%)
CMYKcmyk(54.4%, 71.2%, 0%, 15.7%)
CIE-LABlab(39.49, 53.28, -73.06)
CIE-LCHlch(39.49, 90.42, 306.10°)
OKLaboklab(50.18% 0.0615 -0.2102)
OKLCHoklch(50.18% 0.219 286.3)
XYZxyz(19.0217, 10.9472, 65.3875)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623ED7 #B3D73E
analogous
#3E67D7 #623ED7 #AF3ED7
triadic
#623ED7 #D7623E #3ED762
tetradic
#623ED7 #D73E67 #B3D73E #3ED7AF
square
#623ED7 #D73E67 #B3D73E #3ED7AF
split-complementary
#623ED7 #D7AF3E #67D73E
monochromatic
#321B80 #4625B3 #623ED7 #8B71E2 #B4A3EC

Accessibility & contrast

On white

6.58
#623ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#623ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #623ED7
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623ED7#FFFFFF#000000##FFFFFF
##623ED71.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061DC
Deuteranopia (green-blind)
#0059D4
Tritanopia (blue-blind)
#2F6787
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #623ed7;
/* rgb */ color: rgb(98, 62, 215);
/* oklch */ color: oklch(50.2% 0.219 286.3);
Tailwind
colors: {
  custom: {
    50: '#9a77e5',
    500: '#623ed7',
    950: '#000000',
  },
}
SCSS
$custom: #623ed7;
$custom-light: #9a77e5;
$custom-dark: #000000;
JSON
{
  "hex": "#623ed7",
  "rgb": {
    "r": 98,
    "g": 62,
    "b": 215
  },
  "hsl": {
    "h": 254.118,
    "s": 65.665,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50179,
    "c": 0.21897,
    "h": 286.3
  },
  "luminance": 0.10948
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #623ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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