#623AC2#623AC2

#623AC2 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.8% C 0.199 H 290.3°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#623AC2
RGBrgb(98, 58, 194)
HSLhsl(258, 54%, 49%)
HSVhsv(258, 70%, 76%)
CMYKcmyk(49.5%, 70.1%, 0%, 23.9%)
CIE-LABlab(36.96, 49.42, -65.03)
CIE-LCHlch(36.96, 81.68, 307.24°)
OKLaboklab(47.83% 0.069 -0.1866)
OKLCHoklch(47.83% 0.199 290.3)
XYZxyz(16.2849, 9.5172, 52.0074)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623AC2 #9AC23A
analogous
#3A56C2 #623AC2 #A63AC2
triadic
#623AC2 #C2623A #3AC262
tetradic
#623AC2 #C23A56 #9AC23A #3AC2A6
square
#623AC2 #C23A56 #9AC23A #3AC2A6
split-complementary
#623AC2 #C2A63A #56C23A
monochromatic
#321E64 #4A2C93 #623AC2 #8767D2 #AC97E0

Accessibility & contrast

On white

7.23
#623AC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#623AC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623AC2
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623AC2#FFFFFF#000000##FFFFFF
##623AC21.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C6
Deuteranopia (green-blind)
#0054BF
Tritanopia (blue-blind)
#415D7A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #623ac2;
/* rgb */ color: rgb(98, 58, 194);
/* oklch */ color: oklch(47.8% 0.199 290.3);
Tailwind
colors: {
  custom: {
    50: '#9773d5',
    500: '#623ac2',
    950: '#000000',
  },
}
SCSS
$custom: #623ac2;
$custom-light: #9773d5;
$custom-dark: #000000;
JSON
{
  "hex": "#623ac2",
  "rgb": {
    "r": 98,
    "g": 58,
    "b": 194
  },
  "hsl": {
    "h": 257.647,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.47829,
    "c": 0.19893,
    "h": 290.3
  },
  "luminance": 0.09518
}

Semantic roles & 50–950 ramp

primary
#623AC2
secondary
#B9CB8D
accent
#DD4AB2
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #623AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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