#623CAF#623CAF

#623CAF is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.6% C 0.174 H 293.7°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#623CAF
RGBrgb(98, 60, 175)
HSLhsl(260, 49%, 46%)
HSVhsv(260, 66%, 69%)
CMYKcmyk(44%, 65.7%, 0%, 31.4%)
CIE-LABlab(35.84, 43.05, -55.65)
CIE-LCHlch(35.84, 70.36, 307.72°)
OKLaboklab(46.55% 0.0699 -0.159)
OKLCHoklch(46.55% 0.174 293.7)
XYZxyz(14.3886, 8.9231, 41.5134)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623CAF #89AF3C
analogous
#3C4FAF #623CAF #9B3CAF
triadic
#623CAF #AF623C #3CAF62
tetradic
#623CAF #AF3C4F #89AF3C #3CAF9B
square
#623CAF #AF3C4F #89AF3C #3CAF9B
split-complementary
#623CAF #AF9B3C #4FAF3C
monochromatic
#2F1D54 #482C81 #623CAF #8260C8 #A68DD8

Accessibility & contrast

On white

7.54
#623CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#623CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623CAF
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623CAF#FFFFFF#000000##FFFFFF
##623CAF1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#0052AD
Tritanopia (blue-blind)
#4D5770
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #623caf;
/* rgb */ color: rgb(98, 60, 175);
/* oklch */ color: oklch(46.6% 0.174 293.7);
Tailwind
colors: {
  custom: {
    50: '#9574c8',
    500: '#623caf',
    950: '#000000',
  },
}
SCSS
$custom: #623caf;
$custom-light: #9574c8;
$custom-dark: #000000;
JSON
{
  "hex": "#623caf",
  "rgb": {
    "r": 98,
    "g": 60,
    "b": 175
  },
  "hsl": {
    "h": 259.826,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4655,
    "c": 0.17373,
    "h": 293.7
  },
  "luminance": 0.08924
}

Semantic roles & 50–950 ramp

primary
#623CAF
secondary
#AEC384
accent
#D84FAB
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #623CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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