#6629C2#6629C2

#6629C2 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.3% C 0.217 H 294.2°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#6629C2
RGBrgb(102, 41, 194)
HSLhsl(264, 65%, 46%)
HSVhsv(264, 79%, 76%)
CMYKcmyk(47.4%, 78.9%, 0%, 23.9%)
CIE-LABlab(34.61, 57.97, -68.86)
CIE-LCHlch(34.61, 90.01, 310.09°)
OKLaboklab(46.28% 0.0889 -0.1976)
OKLCHoklch(46.28% 0.217 294.2)
XYZxyz(16.0074, 8.3052, 51.7881)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6629C2 #85C229
analogous
#2938C2 #6629C2 #B229C2
triadic
#6629C2 #C26629 #29C266
tetradic
#6629C2 #C22938 #85C229 #29C2B2
square
#6629C2 #C22938 #85C229 #29C2B2
split-complementary
#6629C2 #C2B229 #38C229
monochromatic
#31145D #4B1E8F #6629C2 #864EDA #A981E4

Accessibility & contrast

On white

7.89
#6629C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6629C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6629C2
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6629C2#FFFFFF#000000##FFFFFF
##6629C21.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C6
Deuteranopia (green-blind)
#004FBF
Tritanopia (blue-blind)
#4A5576
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6629c2;
/* rgb */ color: rgb(102, 41, 194);
/* oklch */ color: oklch(46.3% 0.217 294.2);
Tailwind
colors: {
  custom: {
    50: '#9b6ad6',
    500: '#6629c2',
    950: '#000000',
  },
}
SCSS
$custom: #6629c2;
$custom-light: #9b6ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#6629c2",
  "rgb": {
    "r": 102,
    "g": 41,
    "b": 194
  },
  "hsl": {
    "h": 263.922,
    "s": 65.106,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46276,
    "c": 0.21664,
    "h": 294.2
  },
  "luminance": 0.08306
}

Semantic roles & 50–950 ramp

primary
#6629C2
secondary
#ACCD7A
accent
#E840A5
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6629C2

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

Preview Lab → · Contrast checker → · Palette generator →

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