#634AC8#634AC8

#634AC8 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.7% C 0.187 H 286.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#634AC8
RGBrgb(99, 74, 200)
HSLhsl(252, 53%, 54%)
HSVhsv(252, 63%, 78%)
CMYKcmyk(50.5%, 63%, 0%, 21.6%)
CIE-LABlab(40.77, 42.54, -62.31)
CIE-LCHlch(40.77, 75.45, 304.32°)
OKLaboklab(50.74% 0.0541 -0.1786)
OKLCHoklch(50.74% 0.187 286.9)
XYZxyz(18.0166, 11.7195, 55.9451)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#634AC8 #AFC84A
analogous
#4A70C8 #634AC8 #A24AC8
triadic
#634AC8 #C8634A #4AC863
tetradic
#634AC8 #C84A70 #AFC84A #4AC8A2
square
#634AC8 #C84A70 #AFC84A #4AC8A2
split-complementary
#634AC8 #C8A24A #70C84A
monochromatic
#332374 #4832A3 #634AC8 #8B79D6 #B4A8E5

Accessibility & contrast

On white

6.28
#634AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#634AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #634AC8
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##634AC8#FFFFFF#000000##FFFFFF
##634AC81.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#005DC5
Tritanopia (blue-blind)
#3E6882
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #634ac8;
/* rgb */ color: rgb(99, 74, 200);
/* oklch */ color: oklch(50.7% 0.187 286.9);
Tailwind
colors: {
  custom: {
    50: '#987eda',
    500: '#634ac8',
    950: '#000000',
  },
}
SCSS
$custom: #634ac8;
$custom-light: #987eda;
$custom-dark: #000000;
JSON
{
  "hex": "#634ac8",
  "rgb": {
    "r": 99,
    "g": 74,
    "b": 200
  },
  "hsl": {
    "h": 251.905,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50741,
    "c": 0.18661,
    "h": 286.9
  },
  "luminance": 0.1172
}

Semantic roles & 50–950 ramp

primary
#634AC8
secondary
#C7D29C
accent
#DD4BC0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #634AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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