#634AD8#634AD8

#634AD8 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.0% C 0.206 H 284.7°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#634AD8
RGBrgb(99, 74, 216)
HSLhsl(251, 65%, 57%)
HSVhsv(251, 66%, 85%)
CMYKcmyk(54.2%, 65.7%, 0%, 15.3%)
CIE-LABlab(42.01, 47.28, -69.51)
CIE-LCHlch(42.01, 84.06, 304.22°)
OKLaboklab(52.03% 0.0524 -0.1997)
OKLCHoklch(52.03% 0.206 284.7)
XYZxyz(19.9853, 12.5069, 66.3134)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#634AD8 #BFD84A
analogous
#4A78D8 #634AD8 #AA4AD8
triadic
#634AD8 #D8634A #4AD863
tetradic
#634AD8 #D84A78 #BFD84A #4AD8AA
square
#634AD8 #D84A78 #BFD84A #4AD8AA
split-complementary
#634AD8 #D8AA4A #78D84A
monochromatic
#311E8A #4329BC #634AD8 #8E7CE3 #BAAFEE

Accessibility & contrast

On white

6.00
#634AD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#634AD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #634AD8
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##634AD8#FFFFFF#000000##FFFFFF
##634AD81.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DC
Deuteranopia (green-blind)
#005FD5
Tritanopia (blue-blind)
#2F6E8B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #634ad8;
/* rgb */ color: rgb(99, 74, 216);
/* oklch */ color: oklch(52.0% 0.206 284.7);
Tailwind
colors: {
  custom: {
    50: '#9a7ee5',
    500: '#634ad8',
    950: '#000000',
  },
}
SCSS
$custom: #634ad8;
$custom-light: #9a7ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#634ad8",
  "rgb": {
    "r": 99,
    "g": 74,
    "b": 216
  },
  "hsl": {
    "h": 250.563,
    "s": 64.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5203,
    "c": 0.20649,
    "h": 284.7
  },
  "luminance": 0.12508
}

Semantic roles & 50–950 ramp

primary
#634AD8
secondary
#D2DCA2
accent
#E840CA
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #634AD8

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

Preview Lab → · Contrast checker → · Palette generator →

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