#6E52CF#6E52CF

#6E52CF is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.5% C 0.184 H 288.9°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#6E52CF
RGBrgb(110, 82, 207)
HSLhsl(253, 57%, 57%)
HSVhsv(253, 60%, 81%)
CMYKcmyk(46.9%, 60.4%, 0%, 18.8%)
CIE-LABlab(44.02, 42.14, -61.03)
CIE-LCHlch(44.02, 74.16, 304.63°)
OKLaboklab(53.52% 0.0598 -0.1744)
OKLCHoklch(53.52% 0.184 288.9)
XYZxyz(20.7070, 13.8538, 60.6024)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E52CF #B3CF52
analogous
#5275CF #6E52CF #AD52CF
triadic
#6E52CF #CF6E52 #52CF6E
tetradic
#6E52CF #CF5275 #B3CF52 #52CFAD
square
#6E52CF #CF5275 #B3CF52 #52CFAD
split-complementary
#6E52CF #CFAD52 #75CF52
monochromatic
#392482 #4E31B2 #6E52CF #9682DC #BEB2EA

Accessibility & contrast

On white

5.57
#6E52CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#6E52CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E52CF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E52CF#FFFFFF#000000##FFFFFF
##6E52CF1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#4F6F89
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6e52cf;
/* rgb */ color: rgb(110, 82, 207);
/* oklch */ color: oklch(53.5% 0.184 288.9);
Tailwind
colors: {
  custom: {
    50: '#9f84de',
    500: '#6e52cf',
    950: '#000000',
  },
}
SCSS
$custom: #6e52cf;
$custom-light: #9f84de;
$custom-dark: #000000;
JSON
{
  "hex": "#6e52cf",
  "rgb": {
    "r": 110,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 253.44,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5352,
    "c": 0.18441,
    "h": 288.9
  },
  "luminance": 0.13855
}

Semantic roles & 50–950 ramp

primary
#6E52CF
secondary
#CDD8A5
accent
#E048BE
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6E52CF

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

Preview Lab → · Contrast checker → · Palette generator →

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