#635AAA#635AAA

#635AAA is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.4% C 0.123 H 286.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#635AAA
RGBrgb(99, 90, 170)
HSLhsl(247, 32%, 51%)
HSVhsv(247, 47%, 67%)
CMYKcmyk(41.8%, 47.1%, 0%, 33.3%)
CIE-LABlab(42.56, 23.97, -41.86)
CIE-LCHlch(42.56, 48.24, 299.80°)
OKLaboklab(51.44% 0.0348 -0.1184)
OKLCHoklch(51.44% 0.123 286.4)
XYZxyz(16.0554, 12.8667, 39.6600)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#635AAA #A1AA5A
analogous
#5A79AA #635AAA #8B5AAA
triadic
#635AAA #AA635A #5AAA63
tetradic
#635AAA #AA5A79 #A1AA5A #5AAA8B
square
#635AAA #AA5A79 #A1AA5A #5AAA8B
split-complementary
#635AAA #AA8B5A #79AA5A
monochromatic
#342F5B #4B4483 #635AAA #8982BF #AFABD4

Accessibility & contrast

On white

5.88
#635AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#635AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #635AAA
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##635AAA#FFFFFF#000000##FFFFFF
##635AAA1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B67AD
Deuteranopia (green-blind)
#3A62A8
Tritanopia (blue-blind)
#4E6A7A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #635aaa;
/* rgb */ color: rgb(99, 90, 170);
/* oklch */ color: oklch(51.4% 0.123 286.4);
Tailwind
colors: {
  custom: {
    50: '#9388c4',
    500: '#635aaa',
    950: '#000000',
  },
}
SCSS
$custom: #635aaa;
$custom-light: #9388c4;
$custom-dark: #000000;
JSON
{
  "hex": "#635aaa",
  "rgb": {
    "r": 99,
    "g": 90,
    "b": 170
  },
  "hsl": {
    "h": 246.75,
    "s": 32,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51437,
    "c": 0.12343,
    "h": 286.4
  },
  "luminance": 0.12867
}

Semantic roles & 50–950 ramp

primary
#635AAA
secondary
#BEC29E
accent
#C860BC
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0B12
muted
#7E7C81

Preview Lab

Preview with #635AAA

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

Preview Lab → · Contrast checker → · Palette generator →

#635AAA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva