#6E52CD#6E52CD

#6E52CD is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.4% C 0.182 H 289.2°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#6E52CD
RGBrgb(110, 82, 205)
HSLhsl(254, 55%, 56%)
HSVhsv(254, 60%, 80%)
CMYKcmyk(46.3%, 60%, 0%, 19.6%)
CIE-LABlab(43.88, 41.57, -60.10)
CIE-LCHlch(43.88, 73.08, 304.67°)
OKLaboklab(53.37% 0.0599 -0.1717)
OKLCHoklch(53.37% 0.182 289.2)
XYZxyz(20.4640, 13.7566, 59.3228)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E52CD #B1CD52
analogous
#5274CD #6E52CD #AC52CD
triadic
#6E52CD #CD6E52 #52CD6E
tetradic
#6E52CD #CD5274 #B1CD52 #52CDAC
square
#6E52CD #CD5274 #B1CD52 #52CDAC
split-complementary
#6E52CD #CDAC52 #74CD52
monochromatic
#3A2580 #4F33AF #6E52CD #9681DB #BEB1E8

Accessibility & contrast

On white

5.60
#6E52CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#6E52CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E52CD
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E52CD#FFFFFF#000000##FFFFFF
##6E52CD1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#506E88
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6e52cd;
/* rgb */ color: rgb(110, 82, 205);
/* oklch */ color: oklch(53.4% 0.182 289.2);
Tailwind
colors: {
  custom: {
    50: '#9e84dd',
    500: '#6e52cd',
    950: '#000000',
  },
}
SCSS
$custom: #6e52cd;
$custom-light: #9e84dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6e52cd",
  "rgb": {
    "r": 110,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 253.659,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53373,
    "c": 0.18188,
    "h": 289.2
  },
  "luminance": 0.13757
}

Semantic roles & 50–950 ramp

primary
#6E52CD
secondary
#CBD7A4
accent
#DE49BD
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6E52CD

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

Preview Lab → · Contrast checker → · Palette generator →

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