#623BA2#623BA2

#623BA2 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.4% C 0.159 H 297.0°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#623BA2
RGBrgb(98, 59, 162)
HSLhsl(263, 47%, 43%)
HSVhsv(263, 64%, 64%)
CMYKcmyk(39.5%, 63.6%, 0%, 36.5%)
CIE-LABlab(34.67, 40.02, -49.77)
CIE-LCHlch(34.67, 63.86, 308.80°)
OKLaboklab(45.4% 0.0723 -0.1417)
OKLCHoklch(45.4% 0.159 297)
XYZxyz(13.1209, 8.3330, 35.0926)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623BA2 #7BA23B
analogous
#3B48A2 #623BA2 #953BA2
triadic
#623BA2 #A2623B #3BA262
tetradic
#623BA2 #A23B48 #7BA23B #3BA295
square
#623BA2 #A23B48 #7BA23B #3BA295
split-complementary
#623BA2 #A2953B #48A23B
monochromatic
#2C1A48 #472B75 #623BA2 #8058C2 #A285D3

Accessibility & contrast

On white

7.88
#623BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#623BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623BA2
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623BA2#FFFFFF#000000##FFFFFF
##623BA21.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#0050A0
Tritanopia (blue-blind)
#525269
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #623ba2;
/* rgb */ color: rgb(98, 59, 162);
/* oklch */ color: oklch(45.4% 0.159 297.0);
Tailwind
colors: {
  custom: {
    50: '#9373be',
    500: '#623ba2',
    950: '#000000',
  },
}
SCSS
$custom: #623ba2;
$custom-light: #9373be;
$custom-dark: #000000;
JSON
{
  "hex": "#623ba2",
  "rgb": {
    "r": 98,
    "g": 59,
    "b": 162
  },
  "hsl": {
    "h": 262.718,
    "s": 46.606,
    "l": 43.333
  },
  "oklch": {
    "l": 0.454,
    "c": 0.15911,
    "h": 297
  },
  "luminance": 0.08333
}

Semantic roles & 50–950 ramp

primary
#623BA2
secondary
#A4BD7C
accent
#D652A4
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #623BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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