#623DBA#623DBA

#623DBA is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.6% C 0.186 H 291.3°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#623DBA
RGBrgb(98, 61, 186)
HSLhsl(258, 51%, 48%)
HSVhsv(258, 67%, 73%)
CMYKcmyk(47.3%, 67.2%, 0%, 27.1%)
CIE-LABlab(36.89, 45.58, -60.45)
CIE-LCHlch(36.89, 75.71, 307.02°)
OKLaboklab(47.58% 0.0675 -0.1731)
OKLCHoklch(47.58% 0.186 291.3)
XYZxyz(15.5662, 9.4788, 47.4543)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623DBA #95BA3D
analogous
#3D56BA #623DBA #A03DBA
triadic
#623DBA #BA623D #3DBA62
tetradic
#623DBA #BA3D56 #95BA3D #3DBAA0
square
#623DBA #BA3D56 #95BA3D #3DBAA0
split-complementary
#623DBA #BAA03D #56BA3D
monochromatic
#311F5E #4A2E8C #623DBA #8567CD #AA95DC

Accessibility & contrast

On white

7.25
#623DBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #623DBA
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623DBA#FFFFFF#000000##FFFFFF
##623DBA1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#0054B7
Tritanopia (blue-blind)
#465C76
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #623dba;
/* rgb */ color: rgb(98, 61, 186);
/* oklch */ color: oklch(47.6% 0.186 291.3);
Tailwind
colors: {
  custom: {
    50: '#9675d0',
    500: '#623dba',
    950: '#000000',
  },
}
SCSS
$custom: #623dba;
$custom-light: #9675d0;
$custom-dark: #000000;
JSON
{
  "hex": "#623dba",
  "rgb": {
    "r": 98,
    "g": 61,
    "b": 186
  },
  "hsl": {
    "h": 257.76,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47576,
    "c": 0.18581,
    "h": 291.3
  },
  "luminance": 0.09479
}

Semantic roles & 50–950 ramp

primary
#623DBA
secondary
#B6C88B
accent
#DA4EB1
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #623DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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