#6635BC#6635BC

#6635BC is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.1% C 0.198 H 294.0°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#6635BC
RGBrgb(102, 53, 188)
HSLhsl(262, 56%, 47%)
HSVhsv(262, 72%, 74%)
CMYKcmyk(45.7%, 71.8%, 0%, 26.3%)
CIE-LABlab(35.99, 51.00, -63.08)
CIE-LCHlch(35.99, 81.11, 308.96°)
OKLaboklab(47.08% 0.0806 -0.1807)
OKLCHoklch(47.08% 0.198 294)
XYZxyz(15.8272, 9.0014, 48.4707)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6635BC #8BBC35
analogous
#3547BC #6635BC #AA35BC
triadic
#6635BC #BC6635 #35BC66
tetradic
#6635BC #BC3547 #8BBC35 #35BCAA
square
#6635BC #BC3547 #8BBC35 #35BCAA
split-complementary
#6635BC #BCAA35 #47BC35
monochromatic
#321A5D #4C288C #6635BC #875DD1 #AA8DDF

Accessibility & contrast

On white

7.50
#6635BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#6635BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6635BC
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6635BC#FFFFFF#000000##FFFFFF
##6635BC1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C0
Deuteranopia (green-blind)
#0052B9
Tritanopia (blue-blind)
#4D5875
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6635bc;
/* rgb */ color: rgb(102, 53, 188);
/* oklch */ color: oklch(47.1% 0.198 294.0);
Tailwind
colors: {
  custom: {
    50: '#9971d1',
    500: '#6635bc',
    950: '#000000',
  },
}
SCSS
$custom: #6635bc;
$custom-light: #9971d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6635bc",
  "rgb": {
    "r": 102,
    "g": 53,
    "b": 188
  },
  "hsl": {
    "h": 261.778,
    "s": 56.017,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47082,
    "c": 0.19783,
    "h": 294
  },
  "luminance": 0.09002
}

Semantic roles & 50–950 ramp

primary
#6635BC
secondary
#B0C984
accent
#DF48A9
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #6635BC

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

Preview Lab → · Contrast checker → · Palette generator →

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