#6D52EF#6D52EF

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

Color values

HEX#6D52EF
RGBrgb(109, 82, 239)
HSLhsl(250, 83%, 63%)
HSVhsv(250, 66%, 94%)
CMYKcmyk(54.4%, 65.7%, 0%, 6.3%)
CIE-LABlab(46.33, 51.25, -75.47)
CIE-LCHlch(46.33, 91.22, 304.18°)
OKLaboklab(55.93% 0.0556 -0.2169)
OKLCHoklch(55.93% 0.224 284.4)
XYZxyz(24.8992, 15.5163, 83.3275)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D52EF #D4EF52
analogous
#5286EF #6D52EF #BB52EF
triadic
#6D52EF #EF6D52 #52EF6D
tetradic
#6D52EF #EF5286 #D4EF52 #52EFBB
square
#6D52EF #EF5286 #D4EF52 #52EFBB
split-complementary
#6D52EF #EFBB52 #86EF52
monochromatic
#2D11B6 #3E1AEA #6D52EF #9C8AF4 #CCC2F9

Accessibility & contrast

On white

5.12
#6D52EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#6D52EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D52EF
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D52EF#FFFFFF#000000##FFFFFF
##6D52EF1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F4
Deuteranopia (green-blind)
#0069EC
Tritanopia (blue-blind)
#317A9A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6d52ef;
/* rgb */ color: rgb(109, 82, 239);
/* oklch */ color: oklch(55.9% 0.224 284.4);
Tailwind
colors: {
  custom: {
    50: '#a284f5',
    500: '#6d52ef',
    950: '#000000',
  },
}
SCSS
$custom: #6d52ef;
$custom-light: #a284f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d52ef",
  "rgb": {
    "r": 109,
    "g": 82,
    "b": 239
  },
  "hsl": {
    "h": 250.318,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55928,
    "c": 0.22393,
    "h": 284.4
  },
  "luminance": 0.15518
}

Semantic roles & 50–950 ramp

primary
#6D52EF
secondary
#E1EBB2
accent
#DF06BA
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6D52EF

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

Preview Lab → · Contrast checker → · Palette generator →

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