#6638CE#6638CE

#6638CE is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.0% C 0.215 H 290.1°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#6638CE
RGBrgb(102, 56, 206)
HSLhsl(258, 60%, 51%)
HSVhsv(258, 73%, 81%)
CMYKcmyk(50.5%, 72.8%, 0%, 19.2%)
CIE-LABlab(38.04, 54.38, -70.24)
CIE-LCHlch(38.04, 88.83, 307.75°)
OKLaboklab(49% 0.074 -0.2017)
OKLCHoklch(49% 0.215 290.1)
XYZxyz(18.0310, 10.1086, 59.3816)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6638CE #A0CE38
analogous
#3855CE #6638CE #B138CE
triadic
#6638CE #CE6638 #38CE66
tetradic
#6638CE #CE3855 #A0CE38 #38CEB1
square
#6638CE #CE3855 #A0CE38 #38CEB1
split-complementary
#6638CE #CEB138 #55CE38
monochromatic
#351C70 #4D28A1 #6638CE #8C69DA #B29AE6

Accessibility & contrast

On white

6.95
#6638CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#6638CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6638CE
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6638CE#FFFFFF#000000##FFFFFF
##6638CE1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD2
Deuteranopia (green-blind)
#0056CB
Tritanopia (blue-blind)
#416080
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6638ce;
/* rgb */ color: rgb(102, 56, 206);
/* oklch */ color: oklch(49.0% 0.215 290.1);
Tailwind
colors: {
  custom: {
    50: '#9b73de',
    500: '#6638ce',
    950: '#000000',
  },
}
SCSS
$custom: #6638ce;
$custom-light: #9b73de;
$custom-dark: #000000;
JSON
{
  "hex": "#6638ce",
  "rgb": {
    "r": 102,
    "g": 56,
    "b": 206
  },
  "hsl": {
    "h": 258.4,
    "s": 60.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49003,
    "c": 0.21486,
    "h": 290.1
  },
  "luminance": 0.10109
}

Semantic roles & 50–950 ramp

primary
#6638CE
secondary
#BED290
accent
#E444B3
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6638CE

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

Preview Lab → · Contrast checker → · Palette generator →

#6638CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva