#623EC6#623EC6

#623EC6 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.7% C 0.199 H 289.0°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#623EC6
RGBrgb(98, 62, 198)
HSLhsl(256, 54%, 51%)
HSVhsv(256, 69%, 78%)
CMYKcmyk(50.5%, 68.7%, 0%, 22.4%)
CIE-LABlab(38.05, 48.44, -65.58)
CIE-LCHlch(38.05, 81.53, 306.45°)
OKLaboklab(48.71% 0.0646 -0.1882)
OKLCHoklch(48.71% 0.199 289)
XYZxyz(16.9497, 10.1184, 54.4751)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623EC6 #A2C63E
analogous
#3E5EC6 #623EC6 #A63EC6
triadic
#623EC6 #C6623E #3EC662
tetradic
#623EC6 #C63E5E #A2C63E #3EC6A6
square
#623EC6 #C63E5E #A2C63E #3EC6A6
split-complementary
#623EC6 #C6A63E #5EC63E
monochromatic
#331F6A #4A2D99 #623EC6 #886DD4 #AF9CE2

Accessibility & contrast

On white

6.94
#623EC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#623EC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #623EC6
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623EC6#FFFFFF#000000##FFFFFF
##623EC61.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCA
Deuteranopia (green-blind)
#0056C3
Tritanopia (blue-blind)
#3E617D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #623ec6;
/* rgb */ color: rgb(98, 62, 198);
/* oklch */ color: oklch(48.7% 0.199 289.0);
Tailwind
colors: {
  custom: {
    50: '#9876d8',
    500: '#623ec6',
    950: '#000000',
  },
}
SCSS
$custom: #623ec6;
$custom-light: #9876d8;
$custom-dark: #000000;
JSON
{
  "hex": "#623ec6",
  "rgb": {
    "r": 98,
    "g": 62,
    "b": 198
  },
  "hsl": {
    "h": 255.882,
    "s": 54.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48712,
    "c": 0.19899,
    "h": 289
  },
  "luminance": 0.10119
}

Semantic roles & 50–950 ramp

primary
#623EC6
secondary
#BECE92
accent
#DE4AB7
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #623EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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