#6635BB#6635BB

#6635BB is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.0% C 0.197 H 294.2°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#6635BB
RGBrgb(102, 53, 187)
HSLhsl(262, 56%, 47%)
HSVhsv(262, 72%, 73%)
CMYKcmyk(45.5%, 71.7%, 0%, 26.7%)
CIE-LABlab(35.90, 50.73, -62.62)
CIE-LCHlch(35.90, 80.59, 309.01°)
OKLaboklab(47% 0.0808 -0.1794)
OKLCHoklch(47% 0.197 294.2)
XYZxyz(15.7198, 8.9584, 47.9050)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6635BB #8ABB35
analogous
#3547BB #6635BB #A935BB
triadic
#6635BB #BB6635 #35BB66
tetradic
#6635BB #BB3547 #8ABB35 #35BBA9
square
#6635BB #BB3547 #8ABB35 #35BBA9
split-complementary
#6635BB #BBA935 #47BB35
monochromatic
#321A5C #4C278B #6635BB #875CD1 #AA8CDE

Accessibility & contrast

On white

7.52
#6635BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#6635BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6635BB
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6635BB#FFFFFF#000000##FFFFFF
##6635BB1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BF
Deuteranopia (green-blind)
#0052B8
Tritanopia (blue-blind)
#4E5774
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6635bb;
/* rgb */ color: rgb(102, 53, 187);
/* oklch */ color: oklch(47.0% 0.197 294.2);
Tailwind
colors: {
  custom: {
    50: '#9970d0',
    500: '#6635bb',
    950: '#000000',
  },
}
SCSS
$custom: #6635bb;
$custom-light: #9970d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6635bb",
  "rgb": {
    "r": 102,
    "g": 53,
    "b": 187
  },
  "hsl": {
    "h": 261.94,
    "s": 55.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.46997,
    "c": 0.1967,
    "h": 294.2
  },
  "luminance": 0.08959
}

Semantic roles & 50–950 ramp

primary
#6635BB
secondary
#AFC983
accent
#DF49A8
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0814
muted
#7E7B82

Preview Lab

Preview with #6635BB

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

Preview Lab → · Contrast checker → · Palette generator →

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