#6538CE#6538CE

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

Color values

HEX#6538CE
RGBrgb(101, 56, 206)
HSLhsl(258, 60%, 51%)
HSVhsv(258, 73%, 81%)
CMYKcmyk(51%, 72.8%, 0%, 19.2%)
CIE-LABlab(37.93, 54.23, -70.41)
CIE-LCHlch(37.93, 88.87, 307.60°)
OKLaboklab(48.91% 0.0726 -0.2023)
OKLCHoklch(48.91% 0.215 289.7)
XYZxyz(17.9184, 10.0505, 59.3764)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6538CE #A1CE38
analogous
#3856CE #6538CE #B038CE
triadic
#6538CE #CE6538 #38CE65
tetradic
#6538CE #CE3856 #A1CE38 #38CEB0
square
#6538CE #CE3856 #A1CE38 #38CEB0
split-complementary
#6538CE #CEB038 #56CE38
monochromatic
#351C70 #4C28A1 #6538CE #8B69DA #B19AE6

Accessibility & contrast

On white

6.98
#6538CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#6538CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6538CE
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6538CE#FFFFFF#000000##FFFFFF
##6538CE1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD2
Deuteranopia (green-blind)
#0056CB
Tritanopia (blue-blind)
#3F6080
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6538ce;
/* rgb */ color: rgb(101, 56, 206);
/* oklch */ color: oklch(48.9% 0.215 289.7);
Tailwind
colors: {
  custom: {
    50: '#9b73de',
    500: '#6538ce',
    950: '#000000',
  },
}
SCSS
$custom: #6538ce;
$custom-light: #9b73de;
$custom-dark: #000000;
JSON
{
  "hex": "#6538ce",
  "rgb": {
    "r": 101,
    "g": 56,
    "b": 206
  },
  "hsl": {
    "h": 258,
    "s": 60.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.48906,
    "c": 0.21488,
    "h": 289.7
  },
  "luminance": 0.10051
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6538CE

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

Preview Lab → · Contrast checker → · Palette generator →

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