#623CA2#623CA2

#623CA2 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.6% C 0.158 H 296.8°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#623CA2
RGBrgb(98, 60, 162)
HSLhsl(262, 46%, 44%)
HSVhsv(262, 63%, 64%)
CMYKcmyk(39.5%, 63%, 0%, 36.5%)
CIE-LABlab(34.88, 39.46, -49.43)
CIE-LCHlch(34.88, 63.25, 308.60°)
OKLaboklab(45.55% 0.0711 -0.1407)
OKLCHoklch(45.55% 0.158 296.8)
XYZxyz(13.1728, 8.4368, 35.1099)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623CA2 #7CA23C
analogous
#3C49A2 #623CA2 #953CA2
triadic
#623CA2 #A2623C #3CA262
tetradic
#623CA2 #A23C49 #7CA23C #3CA295
square
#623CA2 #A23C49 #7CA23C #3CA295
split-complementary
#623CA2 #A2953C #49A23C
monochromatic
#2C1B49 #472B75 #623CA2 #8059C2 #A386D2

Accessibility & contrast

On white

7.81
#623CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#623CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623CA2
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623CA2#FFFFFF#000000##FFFFFF
##623CA21.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#0551A0
Tritanopia (blue-blind)
#525369
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #623ca2;
/* rgb */ color: rgb(98, 60, 162);
/* oklch */ color: oklch(45.6% 0.158 296.8);
Tailwind
colors: {
  custom: {
    50: '#9374be',
    500: '#623ca2',
    950: '#000000',
  },
}
SCSS
$custom: #623ca2;
$custom-light: #9374be;
$custom-dark: #000000;
JSON
{
  "hex": "#623ca2",
  "rgb": {
    "r": 98,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 262.353,
    "s": 45.946,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45552,
    "c": 0.15768,
    "h": 296.8
  },
  "luminance": 0.08437
}

Semantic roles & 50–950 ramp

primary
#623CA2
secondary
#A5BC7D
accent
#D652A5
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #623CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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