#634EA2#634EA2

#634EA2 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 48.7% C 0.131 H 292.4°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#634EA2
RGBrgb(99, 78, 162)
HSLhsl(255, 35%, 47%)
HSVhsv(255, 52%, 64%)
CMYKcmyk(38.9%, 51.9%, 0%, 36.5%)
CIE-LABlab(39.09, 29.04, -42.66)
CIE-LCHlch(39.09, 51.60, 304.25°)
OKLaboklab(48.68% 0.0497 -0.1208)
OKLCHoklch(48.68% 0.131 292.4)
XYZxyz(14.3898, 10.7097, 35.4844)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#634EA2 #8DA24E
analogous
#4E63A2 #634EA2 #8D4EA2
triadic
#634EA2 #A2634E #4EA263
tetradic
#634EA2 #A24E63 #8DA24E #4EA28D
square
#634EA2 #A24E63 #8DA24E #4EA28D
split-complementary
#634EA2 #A28D4E #63A24E
monochromatic
#31264F #4A3A79 #634EA2 #8472BB #A89BCF

Accessibility & contrast

On white

6.68
#634EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#634EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #634EA2
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##634EA2#FFFFFF#000000##FFFFFF
##634EA21.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5DA5
Deuteranopia (green-blind)
#305AA0
Tritanopia (blue-blind)
#535F70
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #634ea2;
/* rgb */ color: rgb(99, 78, 162);
/* oklch */ color: oklch(48.7% 0.131 292.4);
Tailwind
colors: {
  custom: {
    50: '#9380be',
    500: '#634ea2',
    950: '#000000',
  },
}
SCSS
$custom: #634ea2;
$custom-light: #9380be;
$custom-dark: #000000;
JSON
{
  "hex": "#634ea2",
  "rgb": {
    "r": 99,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 255,
    "s": 35,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48678,
    "c": 0.13063,
    "h": 292.4
  },
  "luminance": 0.1071
}

Semantic roles & 50–950 ramp

primary
#634EA2
secondary
#B1BC90
accent
#CB5DAF
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #634EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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