#623DCB#623DCB

#623DCB is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.0% C 0.206 H 288.3°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#623DCB
RGBrgb(98, 61, 203)
HSLhsl(256, 58%, 52%)
HSVhsv(256, 70%, 80%)
CMYKcmyk(51.7%, 70%, 0%, 20.4%)
CIE-LABlab(38.28, 50.39, -68.12)
CIE-LCHlch(38.28, 84.73, 306.49°)
OKLaboklab(49% 0.0647 -0.1956)
OKLCHoklch(49% 0.206 288.3)
XYZxyz(17.4821, 10.2451, 57.5447)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623DCB #A6CB3D
analogous
#3D5FCB #623DCB #A93DCB
triadic
#623DCB #CB623D #3DCB62
tetradic
#623DCB #CB3D5F #A6CB3D #3DCBA9
square
#623DCB #CB3D5F #A6CB3D #3DCBA9
split-complementary
#623DCB #CBA93D #5FCB3D
monochromatic
#331E70 #492BA0 #623DCB #896DD8 #B09EE5

Accessibility & contrast

On white

6.89
#623DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#623DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #623DCB
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623DCB#FFFFFF#000000##FFFFFF
##623DCB1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCF
Deuteranopia (green-blind)
#0056C8
Tritanopia (blue-blind)
#3A6280
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #623dcb;
/* rgb */ color: rgb(98, 61, 203);
/* oklch */ color: oklch(49.0% 0.206 288.3);
Tailwind
colors: {
  custom: {
    50: '#9876dc',
    500: '#623dcb',
    950: '#000000',
  },
}
SCSS
$custom: #623dcb;
$custom-light: #9876dc;
$custom-dark: #000000;
JSON
{
  "hex": "#623dcb",
  "rgb": {
    "r": 98,
    "g": 61,
    "b": 203
  },
  "hsl": {
    "h": 255.634,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.49001,
    "c": 0.20606,
    "h": 288.3
  },
  "luminance": 0.10246
}

Semantic roles & 50–950 ramp

primary
#623DCB
secondary
#C1D193
accent
#E147B9
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #623DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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