#6635B9#6635B9

#6635B9 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.8% C 0.194 H 294.7°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#6635B9
RGBrgb(102, 53, 185)
HSLhsl(262, 55%, 47%)
HSVhsv(262, 71%, 73%)
CMYKcmyk(44.9%, 71.4%, 0%, 27.5%)
CIE-LABlab(35.74, 50.20, -61.71)
CIE-LCHlch(35.74, 79.55, 309.13°)
OKLaboklab(46.83% 0.0812 -0.1767)
OKLCHoklch(46.83% 0.194 294.7)
XYZxyz(15.5072, 8.8734, 46.7852)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6635B9 #88B935
analogous
#3546B9 #6635B9 #A835B9
triadic
#6635B9 #B96635 #35B966
tetradic
#6635B9 #B93546 #88B935 #35B9A8
square
#6635B9 #B93546 #88B935 #35B9A8
split-complementary
#6635B9 #B9A835 #46B935
monochromatic
#321A5A #4C2789 #6635B9 #875BD0 #AA8BDE

Accessibility & contrast

On white

7.57
#6635B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#6635B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6635B9
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6635B9#FFFFFF#000000##FFFFFF
##6635B91.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BD
Deuteranopia (green-blind)
#0052B6
Tritanopia (blue-blind)
#4F5773
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6635b9;
/* rgb */ color: rgb(102, 53, 185);
/* oklch */ color: oklch(46.8% 0.194 294.7);
Tailwind
colors: {
  custom: {
    50: '#9970cf',
    500: '#6635b9',
    950: '#000000',
  },
}
SCSS
$custom: #6635b9;
$custom-light: #9970cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6635b9",
  "rgb": {
    "r": 102,
    "g": 53,
    "b": 185
  },
  "hsl": {
    "h": 262.273,
    "s": 55.462,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46829,
    "c": 0.19444,
    "h": 294.7
  },
  "luminance": 0.08874
}

Semantic roles & 50–950 ramp

primary
#6635B9
secondary
#AEC882
accent
#DF49A7
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0814
muted
#7E7B82

Preview Lab

Preview with #6635B9

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

Preview Lab → · Contrast checker → · Palette generator →

#6635B9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva