#623F97#623F97

#623F97 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.2% C 0.139 H 299.1°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#623F97
RGBrgb(98, 63, 151)
HSLhsl(264, 41%, 42%)
HSVhsv(264, 58%, 59%)
CMYKcmyk(35.1%, 58.3%, 0%, 40.8%)
CIE-LABlab(34.77, 34.73, -42.94)
CIE-LCHlch(34.77, 55.23, 308.96°)
OKLaboklab(45.24% 0.0677 -0.1217)
OKLCHoklch(45.24% 0.139 299.1)
XYZxyz(12.3991, 8.3859, 30.2376)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623F97 #74973F
analogous
#3F4897 #623F97 #8E3F97
triadic
#623F97 #97623F #3F9762
tetradic
#623F97 #973F48 #74973F #3F978E
square
#623F97 #973F48 #74973F #3F978E
split-complementary
#623F97 #978E3F #48973F
monochromatic
#2A1B41 #462D6C #623F97 #8059BA #A185CC

Accessibility & contrast

On white

7.84
#623F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#623F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623F97
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623F97#FFFFFF#000000##FFFFFF
##623F971.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15529A
Deuteranopia (green-blind)
#235195
Tritanopia (blue-blind)
#575165
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #623f97;
/* rgb */ color: rgb(98, 63, 151);
/* oklch */ color: oklch(45.2% 0.139 299.1);
Tailwind
colors: {
  custom: {
    50: '#9275b6',
    500: '#623f97',
    950: '#000000',
  },
}
SCSS
$custom: #623f97;
$custom-light: #9275b6;
$custom-dark: #000000;
JSON
{
  "hex": "#623f97",
  "rgb": {
    "r": 98,
    "g": 63,
    "b": 151
  },
  "hsl": {
    "h": 263.864,
    "s": 41.121,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45237,
    "c": 0.13926,
    "h": 299.1
  },
  "luminance": 0.08386
}

Semantic roles & 50–950 ramp

primary
#623F97
secondary
#9FB67C
accent
#D157A0
background
#F9F7FB
surface
#F1EDF6
border
#CBC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #623F97

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

Preview Lab → · Contrast checker → · Palette generator →

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