#6633B7#6633B7

#6633B7 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.4% C 0.194 H 295.4°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#6633B7
RGBrgb(102, 51, 183)
HSLhsl(263, 56%, 46%)
HSVhsv(263, 72%, 72%)
CMYKcmyk(44.3%, 72.1%, 0%, 28.2%)
CIE-LABlab(35.22, 50.65, -61.37)
CIE-LCHlch(35.22, 79.58, 309.53°)
OKLaboklab(46.41% 0.0835 -0.1757)
OKLCHoklch(46.41% 0.194 295.4)
XYZxyz(15.2083, 8.6110, 45.6514)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6633B7 #84B733
analogous
#3342B7 #6633B7 #A833B7
triadic
#6633B7 #B76633 #33B766
tetradic
#6633B7 #B73342 #84B733 #33B7A8
square
#6633B7 #B73342 #84B733 #33B7A8
split-complementary
#6633B7 #B7A833 #42B733
monochromatic
#311857 #4B2687 #6633B7 #8657D0 #A887DE

Accessibility & contrast

On white

7.71
#6633B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#6633B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6633B7
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6633B7#FFFFFF#000000##FFFFFF
##6633B71.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BB
Deuteranopia (green-blind)
#0051B4
Tritanopia (blue-blind)
#505572
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6633b7;
/* rgb */ color: rgb(102, 51, 183);
/* oklch */ color: oklch(46.4% 0.194 295.4);
Tailwind
colors: {
  custom: {
    50: '#996fce',
    500: '#6633b7',
    950: '#000000',
  },
}
SCSS
$custom: #6633b7;
$custom-light: #996fce;
$custom-dark: #000000;
JSON
{
  "hex": "#6633b7",
  "rgb": {
    "r": 102,
    "g": 51,
    "b": 183
  },
  "hsl": {
    "h": 263.182,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46413,
    "c": 0.19449,
    "h": 295.4
  },
  "luminance": 0.08611
}

Semantic roles & 50–950 ramp

primary
#6633B7
secondary
#ABC77F
accent
#E048A5
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0F0814
muted
#7E7B82

Preview Lab

Preview with #6633B7

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

Preview Lab → · Contrast checker → · Palette generator →

#6633B7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva