#623DB7#623DB7

#623DB7 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.3% C 0.182 H 291.9°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#623DB7
RGBrgb(98, 61, 183)
HSLhsl(258, 50%, 48%)
HSVhsv(258, 67%, 72%)
CMYKcmyk(46.4%, 66.7%, 0%, 28.2%)
CIE-LABlab(36.65, 44.74, -59.06)
CIE-LCHlch(36.65, 74.09, 307.14°)
OKLaboklab(47.33% 0.0679 -0.1691)
OKLCHoklch(47.33% 0.182 291.9)
XYZxyz(15.2506, 9.3525, 45.7922)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623DB7 #92B73D
analogous
#3D55B7 #623DB7 #9F3DB7
triadic
#623DB7 #B7623D #3DB762
tetradic
#623DB7 #B73D55 #92B73D #3DB79F
square
#623DB7 #B73D55 #92B73D #3DB79F
split-complementary
#623DB7 #B79F3D #55B73D
monochromatic
#311E5B #492E89 #623DB7 #8465CC #A993DB

Accessibility & contrast

On white

7.32
#623DB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#623DB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623DB7
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623DB7#FFFFFF#000000##FFFFFF
##623DB71.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BB
Deuteranopia (green-blind)
#0054B5
Tritanopia (blue-blind)
#485B75
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #623db7;
/* rgb */ color: rgb(98, 61, 183);
/* oklch */ color: oklch(47.3% 0.182 291.9);
Tailwind
colors: {
  custom: {
    50: '#9675cd',
    500: '#623db7',
    950: '#000000',
  },
}
SCSS
$custom: #623db7;
$custom-light: #9675cd;
$custom-dark: #000000;
JSON
{
  "hex": "#623db7",
  "rgb": {
    "r": 98,
    "g": 61,
    "b": 183
  },
  "hsl": {
    "h": 258.197,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47333,
    "c": 0.18218,
    "h": 291.9
  },
  "luminance": 0.09353
}

Semantic roles & 50–950 ramp

primary
#623DB7
secondary
#B4C689
accent
#DA4EAF
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #623DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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