#6538CA#6538CA

#6538CA is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.6% C 0.210 H 290.4°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#6538CA
RGBrgb(101, 56, 202)
HSLhsl(258, 58%, 51%)
HSVhsv(258, 72%, 79%)
CMYKcmyk(50%, 72.3%, 0%, 20.8%)
CIE-LABlab(37.59, 53.13, -68.65)
CIE-LCHlch(37.59, 86.81, 307.74°)
OKLaboklab(48.56% 0.0735 -0.1971)
OKLCHoklch(48.56% 0.21 290.4)
XYZxyz(17.4386, 9.8586, 56.8497)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6538CA #9DCA38
analogous
#3854CA #6538CA #AE38CA
triadic
#6538CA #CA6538 #38CA65
tetradic
#6538CA #CA3854 #9DCA38 #38CAAE
square
#6538CA #CA3854 #9DCA38 #38CAAE
split-complementary
#6538CA #CAAE38 #54CA38
monochromatic
#351D6B #4D299B #6538CA #8A68D7 #B099E4

Accessibility & contrast

On white

7.07
#6538CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#6538CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6538CA
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6538CA#FFFFFF#000000##FFFFFF
##6538CA1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCE
Deuteranopia (green-blind)
#0055C7
Tritanopia (blue-blind)
#425F7E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6538ca;
/* rgb */ color: rgb(101, 56, 202);
/* oklch */ color: oklch(48.6% 0.210 290.4);
Tailwind
colors: {
  custom: {
    50: '#9a73db',
    500: '#6538ca',
    950: '#000000',
  },
}
SCSS
$custom: #6538ca;
$custom-light: #9a73db;
$custom-dark: #000000;
JSON
{
  "hex": "#6538ca",
  "rgb": {
    "r": 101,
    "g": 56,
    "b": 202
  },
  "hsl": {
    "h": 258.493,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.48555,
    "c": 0.21035,
    "h": 290.4
  },
  "luminance": 0.09859
}

Semantic roles & 50–950 ramp

primary
#6538CA
secondary
#BBCF8E
accent
#E147B2
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6538CA

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

Preview Lab → · Contrast checker → · Palette generator →

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