#6635B8#6635B8

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

Color values

HEX#6635B8
RGBrgb(102, 53, 184)
HSLhsl(262, 55%, 46%)
HSVhsv(262, 71%, 72%)
CMYKcmyk(44.6%, 71.2%, 0%, 27.8%)
CIE-LABlab(35.66, 49.93, -61.26)
CIE-LCHlch(35.66, 79.03, 309.18°)
OKLaboklab(46.75% 0.0814 -0.1753)
OKLCHoklch(46.75% 0.193 294.9)
XYZxyz(15.4020, 8.8313, 46.2312)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6635B8 #87B835
analogous
#3546B8 #6635B8 #A835B8
triadic
#6635B8 #B86635 #35B866
tetradic
#6635B8 #B83546 #87B835 #35B8A8
square
#6635B8 #B83546 #87B835 #35B8A8
split-complementary
#6635B8 #B8A835 #46B835
monochromatic
#311A59 #4C2788 #6635B8 #865BD0 #A98ADD

Accessibility & contrast

On white

7.59
#6635B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6635B8
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6635B8#FFFFFF#000000##FFFFFF
##6635B81.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BC
Deuteranopia (green-blind)
#0052B5
Tritanopia (blue-blind)
#4F5673
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6635b8;
/* rgb */ color: rgb(102, 53, 184);
/* oklch */ color: oklch(46.7% 0.193 294.9);
Tailwind
colors: {
  custom: {
    50: '#9970ce',
    500: '#6635b8',
    950: '#000000',
  },
}
SCSS
$custom: #6635b8;
$custom-light: #9970ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6635b8",
  "rgb": {
    "r": 102,
    "g": 53,
    "b": 184
  },
  "hsl": {
    "h": 262.443,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46746,
    "c": 0.19331,
    "h": 294.9
  },
  "luminance": 0.08832
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6635B8

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

Preview Lab → · Contrast checker → · Palette generator →

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