#6539E2#6539E2

#6539E2 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.8% C 0.236 H 286.5°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#6539E2
RGBrgb(101, 57, 226)
HSLhsl(256, 74%, 55%)
HSVhsv(256, 75%, 89%)
CMYKcmyk(55.3%, 74.8%, 0%, 11.4%)
CIE-LABlab(39.89, 59.22, -78.70)
CIE-LCHlch(39.89, 98.49, 306.96°)
OKLaboklab(50.83% 0.067 -0.2265)
OKLCHoklch(50.83% 0.236 286.5)
XYZxyz(20.5533, 11.1828, 73.0122)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6539E2 #B6E239
analogous
#3962E2 #6539E2 #B939E2
triadic
#6539E2 #E26539 #39E265
tetradic
#6539E2 #E23962 #B6E239 #39E2B9
square
#6539E2 #E23962 #B6E239 #39E2B9
split-complementary
#6539E2 #E2B939 #62E239
monochromatic
#34158C #471CC1 #6539E2 #8F6EEA #B8A4F2

Accessibility & contrast

On white

6.49
#6539E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#6539E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6539E2
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6539E2#FFFFFF#000000##FFFFFF
##6539E21.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E7
Deuteranopia (green-blind)
#0059DF
Tritanopia (blue-blind)
#2B698B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6539e2;
/* rgb */ color: rgb(101, 57, 226);
/* oklch */ color: oklch(50.8% 0.236 286.5);
Tailwind
colors: {
  custom: {
    50: '#9e74ec',
    500: '#6539e2',
    950: '#000000',
  },
}
SCSS
$custom: #6539e2;
$custom-light: #9e74ec;
$custom-dark: #000000;
JSON
{
  "hex": "#6539e2",
  "rgb": {
    "r": 101,
    "g": 57,
    "b": 226
  },
  "hsl": {
    "h": 255.621,
    "s": 74.449,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50825,
    "c": 0.23623,
    "h": 286.5
  },
  "luminance": 0.11184
}

Semantic roles & 50–950 ramp

primary
#6539E2
secondary
#CCDF98
accent
#F137C1
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6539E2

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

Preview Lab → · Contrast checker → · Palette generator →

#6539E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva