#634BC7#634BC7

#634BC7 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.8% C 0.184 H 286.8°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#634BC7
RGBrgb(99, 75, 199)
HSLhsl(252, 53%, 54%)
HSVhsv(252, 62%, 78%)
CMYKcmyk(50.3%, 62.3%, 0%, 22%)
CIE-LABlab(40.91, 41.66, -61.50)
CIE-LCHlch(40.91, 74.29, 304.11°)
OKLaboklab(50.82% 0.0532 -0.1762)
OKLCHoklch(50.82% 0.184 286.8)
XYZxyz(17.9674, 11.8075, 55.3541)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#634BC7 #AFC74B
analogous
#4B71C7 #634BC7 #A14BC7
triadic
#634BC7 #C7634B #4BC763
tetradic
#634BC7 #C74B71 #AFC74B #4BC7A1
square
#634BC7 #C74B71 #AFC74B #4BC7A1
split-complementary
#634BC7 #C7A14B #71C74B
monochromatic
#332474 #4832A2 #634BC7 #8B7AD6 #B4A8E4

Accessibility & contrast

On white

6.25
#634BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#634BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #634BC7
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##634BC7#FFFFFF#000000##FFFFFF
##634BC71.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CB
Deuteranopia (green-blind)
#005DC4
Tritanopia (blue-blind)
#3F6982
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #634bc7;
/* rgb */ color: rgb(99, 75, 199);
/* oklch */ color: oklch(50.8% 0.184 286.8);
Tailwind
colors: {
  custom: {
    50: '#977ed9',
    500: '#634bc7',
    950: '#000000',
  },
}
SCSS
$custom: #634bc7;
$custom-light: #977ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#634bc7",
  "rgb": {
    "r": 99,
    "g": 75,
    "b": 199
  },
  "hsl": {
    "h": 251.613,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5082,
    "c": 0.18406,
    "h": 286.8
  },
  "luminance": 0.11808
}

Semantic roles & 50–950 ramp

primary
#634BC7
secondary
#C7D19C
accent
#DC4CC0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #634BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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