#6626C7#6626C7

#6626C7 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.5% C 0.224 H 293.5°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#6626C7
RGBrgb(102, 38, 199)
HSLhsl(264, 68%, 46%)
HSVhsv(264, 81%, 78%)
CMYKcmyk(48.7%, 80.9%, 0%, 22%)
CIE-LABlab(34.67, 60.40, -71.69)
CIE-LCHlch(34.67, 93.74, 310.12°)
OKLaboklab(46.46% 0.0894 -0.2058)
OKLCHoklch(46.46% 0.224 293.5)
XYZxyz(16.4785, 8.3340, 54.7621)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6626C7 #87C726
analogous
#2637C7 #6626C7 #B726C7
triadic
#6626C7 #C76626 #26C766
tetradic
#6626C7 #C72637 #87C726 #26C7B7
square
#6626C7 #C72637 #87C726 #26C7B7
split-complementary
#6626C7 #C7B726 #37C726
monochromatic
#311260 #4C1C94 #6626C7 #864DDD #A981E7

Accessibility & contrast

On white

7.87
#6626C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#6626C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6626C7
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6626C7#FFFFFF#000000##FFFFFF
##6626C71.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CB
Deuteranopia (green-blind)
#004FC4
Tritanopia (blue-blind)
#475578
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6626c7;
/* rgb */ color: rgb(102, 38, 199);
/* oklch */ color: oklch(46.5% 0.224 293.5);
Tailwind
colors: {
  custom: {
    50: '#9c69d9',
    500: '#6626c7',
    950: '#000000',
  },
}
SCSS
$custom: #6626c7;
$custom-light: #9c69d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6626c7",
  "rgb": {
    "r": 102,
    "g": 38,
    "b": 199
  },
  "hsl": {
    "h": 263.851,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46457,
    "c": 0.22439,
    "h": 293.5
  },
  "luminance": 0.08335
}

Semantic roles & 50–950 ramp

primary
#6626C7
secondary
#ADCF79
accent
#EB3DA6
background
#FAF6FD
surface
#F4EBFB
border
#CEC6D4
text
#0F0715
muted
#7F7A83

Preview Lab

Preview with #6626C7

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

Preview Lab → · Contrast checker → · Palette generator →

#6626C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva