#634EA5#634EA5

#634EA5 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 48.9% C 0.135 H 291.8°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#634EA5
RGBrgb(99, 78, 165)
HSLhsl(254, 36%, 48%)
HSVhsv(254, 53%, 65%)
CMYKcmyk(40%, 52.7%, 0%, 35.3%)
CIE-LABlab(39.27, 29.90, -44.15)
CIE-LCHlch(39.27, 53.32, 304.11°)
OKLaboklab(48.88% 0.05 -0.1252)
OKLCHoklch(48.88% 0.135 291.8)
XYZxyz(14.6597, 10.8176, 36.9056)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#634EA5 #90A54E
analogous
#4E64A5 #634EA5 #8E4EA5
triadic
#634EA5 #A5634E #4EA563
tetradic
#634EA5 #A54E64 #90A54E #4EA58E
square
#634EA5 #A54E64 #90A54E #4EA58E
split-complementary
#634EA5 #A58E4E #64A54E
monochromatic
#312752 #4A3A7B #634EA5 #8573BD #A99DD1

Accessibility & contrast

On white

6.64
#634EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#634EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #634EA5
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##634EA5#FFFFFF#000000##FFFFFF
##634EA51.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295EA8
Deuteranopia (green-blind)
#2C5BA3
Tritanopia (blue-blind)
#526072
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #634ea5;
/* rgb */ color: rgb(99, 78, 165);
/* oklch */ color: oklch(48.9% 0.135 291.8);
Tailwind
colors: {
  custom: {
    50: '#9380c0',
    500: '#634ea5',
    950: '#000000',
  },
}
SCSS
$custom: #634ea5;
$custom-light: #9380c0;
$custom-dark: #000000;
JSON
{
  "hex": "#634ea5",
  "rgb": {
    "r": 99,
    "g": 78,
    "b": 165
  },
  "hsl": {
    "h": 254.483,
    "s": 35.802,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48875,
    "c": 0.13478,
    "h": 291.8
  },
  "luminance": 0.10818
}

Semantic roles & 50–950 ramp

primary
#634EA5
secondary
#B3BD91
accent
#CC5CB1
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #634EA5

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

Preview Lab → · Contrast checker → · Palette generator →

#634EA5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva