#6635B7#6635B7

#6635B7 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.7% C 0.192 H 295.1°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#6635B7
RGBrgb(102, 53, 183)
HSLhsl(263, 55%, 46%)
HSVhsv(263, 71%, 72%)
CMYKcmyk(44.3%, 71%, 0%, 28.2%)
CIE-LABlab(35.58, 49.67, -60.80)
CIE-LCHlch(35.58, 78.51, 309.25°)
OKLaboklab(46.66% 0.0816 -0.174)
OKLCHoklch(46.66% 0.192 295.1)
XYZxyz(15.2975, 8.7895, 45.6811)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6635B7 #86B735
analogous
#3545B7 #6635B7 #A735B7
triadic
#6635B7 #B76635 #35B766
tetradic
#6635B7 #B73545 #86B735 #35B7A7
square
#6635B7 #B73545 #86B735 #35B7A7
split-complementary
#6635B7 #B7A735 #45B735
monochromatic
#311A58 #4C2788 #6635B7 #865ACF #A989DD

Accessibility & contrast

On white

7.61
#6635B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#6635B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6635B7
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6635B7#FFFFFF#000000##FFFFFF
##6635B71.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BB
Deuteranopia (green-blind)
#0052B4
Tritanopia (blue-blind)
#505672
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6635b7;
/* rgb */ color: rgb(102, 53, 183);
/* oklch */ color: oklch(46.7% 0.192 295.1);
Tailwind
colors: {
  custom: {
    50: '#9970ce',
    500: '#6635b7',
    950: '#000000',
  },
}
SCSS
$custom: #6635b7;
$custom-light: #9970ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6635b7",
  "rgb": {
    "r": 102,
    "g": 53,
    "b": 183
  },
  "hsl": {
    "h": 262.615,
    "s": 55.085,
    "l": 46.275
  },
  "oklch": {
    "l": 0.46662,
    "c": 0.19217,
    "h": 295.1
  },
  "luminance": 0.0879
}

Semantic roles & 50–950 ramp

primary
#6635B7
secondary
#ADC781
accent
#DE49A6
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0814
muted
#7E7B82

Preview Lab

Preview with #6635B7

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

Preview Lab → · Contrast checker → · Palette generator →

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