#6635C2#6635C2

#6635C2 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.6% C 0.205 H 292.8°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#6635C2
RGBrgb(102, 53, 194)
HSLhsl(261, 57%, 48%)
HSVhsv(261, 73%, 76%)
CMYKcmyk(47.4%, 72.7%, 0%, 23.9%)
CIE-LABlab(36.49, 52.60, -65.78)
CIE-LCHlch(36.49, 84.22, 308.65°)
OKLaboklab(47.59% 0.0793 -0.1886)
OKLCHoklch(47.59% 0.205 292.8)
XYZxyz(16.4875, 9.2655, 51.9482)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6635C2 #91C235
analogous
#354AC2 #6635C2 #AC35C2
triadic
#6635C2 #C26635 #35C266
tetradic
#6635C2 #C2354A #91C235 #35C2AC
square
#6635C2 #C2354A #91C235 #35C2AC
split-complementary
#6635C2 #C2AC35 #4AC235
monochromatic
#331B62 #4D2892 #6635C2 #8960D4 #AC91E1

Accessibility & contrast

On white

7.36
#6635C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6635C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6635C2
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6635C2#FFFFFF#000000##FFFFFF
##6635C21.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C6
Deuteranopia (green-blind)
#0053BF
Tritanopia (blue-blind)
#4A5A78
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6635c2;
/* rgb */ color: rgb(102, 53, 194);
/* oklch */ color: oklch(47.6% 0.205 292.8);
Tailwind
colors: {
  custom: {
    50: '#9a71d6',
    500: '#6635c2',
    950: '#000000',
  },
}
SCSS
$custom: #6635c2;
$custom-light: #9a71d6;
$custom-dark: #000000;
JSON
{
  "hex": "#6635c2",
  "rgb": {
    "r": 102,
    "g": 53,
    "b": 194
  },
  "hsl": {
    "h": 260.851,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47594,
    "c": 0.2046,
    "h": 292.8
  },
  "luminance": 0.09266
}

Semantic roles & 50–950 ramp

primary
#6635C2
secondary
#B4CC87
accent
#E047AB
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6635C2

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

Preview Lab → · Contrast checker → · Palette generator →

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