#6F52EC#6F52EC

#6F52EC is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 55.9% C 0.220 H 285.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#6F52EC
RGBrgb(111, 82, 236)
HSLhsl(251, 80%, 62%)
HSVhsv(251, 65%, 93%)
CMYKcmyk(53%, 65.3%, 0%, 7.5%)
CIE-LABlab(46.27, 50.71, -73.88)
CIE-LCHlch(46.27, 89.60, 304.46°)
OKLaboklab(55.85% 0.0586 -0.2122)
OKLCHoklch(55.85% 0.22 285.4)
XYZxyz(24.7086, 15.4689, 81.0244)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F52EC #CFEC52
analogous
#5282EC #6F52EC #BC52EC
triadic
#6F52EC #EC6F52 #52EC6F
tetradic
#6F52EC #EC5282 #CFEC52 #52ECBC
square
#6F52EC #EC5282 #CFEC52 #52ECBC
split-complementary
#6F52EC #ECBC52 #82EC52
monochromatic
#3113B0 #411BE6 #6F52EC #9D89F2 #CBC0F8

Accessibility & contrast

On white

5.13
#6F52EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#6F52EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F52EC
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F52EC#FFFFFF#000000##FFFFFF
##6F52EC1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F1
Deuteranopia (green-blind)
#0069E9
Tritanopia (blue-blind)
#3B7998
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6f52ec;
/* rgb */ color: rgb(111, 82, 236);
/* oklch */ color: oklch(55.9% 0.220 285.4);
Tailwind
colors: {
  custom: {
    50: '#a384f3',
    500: '#6f52ec',
    950: '#000000',
  },
}
SCSS
$custom: #6f52ec;
$custom-light: #a384f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f52ec",
  "rgb": {
    "r": 111,
    "g": 82,
    "b": 236
  },
  "hsl": {
    "h": 251.299,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.55851,
    "c": 0.22012,
    "h": 285.4
  },
  "luminance": 0.1547
}

Semantic roles & 50–950 ramp

primary
#6F52EC
secondary
#DEE9B1
accent
#DD09B5
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6F52EC

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

Preview Lab → · Contrast checker → · Palette generator →

#6F52EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva