#623DC2#623DC2

#623DC2 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.2% C 0.195 H 289.8°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#623DC2
RGBrgb(98, 61, 194)
HSLhsl(257, 52%, 50%)
HSVhsv(257, 69%, 76%)
CMYKcmyk(49.5%, 68.6%, 0%, 23.9%)
CIE-LABlab(37.53, 47.84, -64.09)
CIE-LCHlch(37.53, 79.98, 306.74°)
OKLaboklab(48.24% 0.0662 -0.1838)
OKLCHoklch(48.24% 0.195 289.8)
XYZxyz(16.4406, 9.8285, 52.0593)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623DC2 #9DC23D
analogous
#3D5AC2 #623DC2 #A53DC2
triadic
#623DC2 #C2623D #3DC262
tetradic
#623DC2 #C23D5A #9DC23D #3DC2A5
square
#623DC2 #C23D5A #9DC23D #3DC2A5
split-complementary
#623DC2 #C2A53D #5AC23D
monochromatic
#332065 #4A2E93 #623DC2 #886CD1 #AD9ADF

Accessibility & contrast

On white

7.08
#623DC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#623DC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623DC2
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623DC2#FFFFFF#000000##FFFFFF
##623DC21.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#0055BF
Tritanopia (blue-blind)
#415F7B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #623dc2;
/* rgb */ color: rgb(98, 61, 194);
/* oklch */ color: oklch(48.2% 0.195 289.8);
Tailwind
colors: {
  custom: {
    50: '#9775d5',
    500: '#623dc2',
    950: '#000000',
  },
}
SCSS
$custom: #623dc2;
$custom-light: #9775d5;
$custom-dark: #000000;
JSON
{
  "hex": "#623dc2",
  "rgb": {
    "r": 98,
    "g": 61,
    "b": 194
  },
  "hsl": {
    "h": 256.692,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.48237,
    "c": 0.19541,
    "h": 289.8
  },
  "luminance": 0.09829
}

Semantic roles & 50–950 ramp

primary
#623DC2
secondary
#BBCB90
accent
#DC4CB4
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #623DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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