#6F52CE#6F52CE

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

Color values

HEX#6F52CE
RGBrgb(111, 82, 206)
HSLhsl(254, 56%, 56%)
HSVhsv(254, 60%, 81%)
CMYKcmyk(46.1%, 60.2%, 0%, 19.2%)
CIE-LABlab(44.05, 42.06, -60.41)
CIE-LCHlch(44.05, 73.61, 304.85°)
OKLaboklab(53.54% 0.0612 -0.1726)
OKLCHoklch(53.54% 0.183 289.5)
XYZxyz(20.7103, 13.8695, 59.9664)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F52CE #B1CE52
analogous
#5273CE #6F52CE #AD52CE
triadic
#6F52CE #CE6F52 #52CE6F
tetradic
#6F52CE #CE5273 #B1CE52 #52CEAD
square
#6F52CE #CE5273 #B1CE52 #52CEAD
split-complementary
#6F52CE #CEAD52 #73CE52
monochromatic
#3A2581 #5032B1 #6F52CE #9782DC #BEB1E9

Accessibility & contrast

On white

5.56
#6F52CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6F52CE
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F52CE#FFFFFF#000000##FFFFFF
##6F52CE1.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#0065CB
Tritanopia (blue-blind)
#516E88
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6f52ce;
/* rgb */ color: rgb(111, 82, 206);
/* oklch */ color: oklch(53.5% 0.183 289.5);
Tailwind
colors: {
  custom: {
    50: '#9f84de',
    500: '#6f52ce',
    950: '#000000',
  },
}
SCSS
$custom: #6f52ce;
$custom-light: #9f84de;
$custom-dark: #000000;
JSON
{
  "hex": "#6f52ce",
  "rgb": {
    "r": 111,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 254.032,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53537,
    "c": 0.18312,
    "h": 289.5
  },
  "luminance": 0.1387
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6F52CE

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

Preview Lab → · Contrast checker → · Palette generator →

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