#6539F2#6539F2

#6539F2 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.3% C 0.254 H 284.3°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#6539F2
RGBrgb(101, 57, 242)
HSLhsl(254, 88%, 59%)
HSVhsv(254, 76%, 95%)
CMYKcmyk(58.3%, 76.4%, 0%, 5.1%)
CIE-LABlab(41.38, 63.59, -85.31)
CIE-LCHlch(41.38, 106.40, 306.70°)
OKLaboklab(52.32% 0.0627 -0.2459)
OKLCHoklch(52.32% 0.254 284.3)
XYZxyz(22.8521, 12.1023, 85.1190)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6539F2 #C6F239
analogous
#3969F2 #6539F2 #C139F2
triadic
#6539F2 #F26539 #39F265
tetradic
#6539F2 #F23969 #C6F239 #39F2C1
square
#6539F2 #F23969 #C6F239 #39F2C1
split-complementary
#6539F2 #F2C139 #69F239
monochromatic
#300BA6 #400FDF #6539F2 #9272F6 #BEACFA

Accessibility & contrast

On white

6.14
#6539F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#6539F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6539F2
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6539F2#FFFFFF#000000##FFFFFF
##6539F21.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067F7
Deuteranopia (green-blind)
#005CEF
Tritanopia (blue-blind)
#056F95
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6539f2;
/* rgb */ color: rgb(101, 57, 242);
/* oklch */ color: oklch(52.3% 0.254 284.3);
Tailwind
colors: {
  custom: {
    50: '#a075f8',
    500: '#6539f2',
    950: '#000000',
  },
}
SCSS
$custom: #6539f2;
$custom-light: #a075f8;
$custom-dark: #000000;
JSON
{
  "hex": "#6539f2",
  "rgb": {
    "r": 101,
    "g": 57,
    "b": 242
  },
  "hsl": {
    "h": 254.27,
    "s": 87.678,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52318,
    "c": 0.25374,
    "h": 284.3
  },
  "luminance": 0.12104
}

Semantic roles & 50–950 ramp

primary
#6539F2
secondary
#D7E89F
accent
#FE2ACB
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#100917
muted
#7F7B85

Preview Lab

Preview with #6539F2

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

Preview Lab → · Contrast checker → · Palette generator →

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