#6635B2#6635B2

#6635B2 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.3% C 0.186 H 296.3°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#6635B2
RGBrgb(102, 53, 178)
HSLhsl(264, 54%, 45%)
HSVhsv(264, 70%, 70%)
CMYKcmyk(42.7%, 70.2%, 0%, 30.2%)
CIE-LABlab(35.17, 48.34, -58.49)
CIE-LCHlch(35.17, 75.88, 309.57°)
OKLaboklab(46.25% 0.0825 -0.1672)
OKLCHoklch(46.25% 0.186 296.3)
XYZxyz(14.7864, 8.5850, 42.9889)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6635B2 #81B235
analogous
#3542B2 #6635B2 #A435B2
triadic
#6635B2 #B26635 #35B266
tetradic
#6635B2 #B23542 #81B235 #35B2A4
square
#6635B2 #B23542 #81B235 #35B2A4
split-complementary
#6635B2 #B2A435 #42B235
monochromatic
#301954 #4B2783 #6635B2 #8557CD #A886DB

Accessibility & contrast

On white

7.73
#6635B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#6635B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6635B2
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6635B2#FFFFFF#000000##FFFFFF
##6635B21.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#0051AF
Tritanopia (blue-blind)
#525470
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6635b2;
/* rgb */ color: rgb(102, 53, 178);
/* oklch */ color: oklch(46.3% 0.186 296.3);
Tailwind
colors: {
  custom: {
    50: '#9870ca',
    500: '#6635b2',
    950: '#000000',
  },
}
SCSS
$custom: #6635b2;
$custom-light: #9870ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6635b2",
  "rgb": {
    "r": 102,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 263.52,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4625,
    "c": 0.18646,
    "h": 296.3
  },
  "luminance": 0.08585
}

Semantic roles & 50–950 ramp

primary
#6635B2
secondary
#A9C57E
accent
#DD4AA4
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6635B2

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

Preview Lab → · Contrast checker → · Palette generator →

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