#6F52CD#6F52CD

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

Color values

HEX#6F52CD
RGBrgb(111, 82, 205)
HSLhsl(254, 55%, 56%)
HSVhsv(254, 60%, 80%)
CMYKcmyk(45.9%, 60%, 0%, 19.6%)
CIE-LABlab(43.98, 41.77, -59.95)
CIE-LCHlch(43.98, 73.07, 304.87°)
OKLaboklab(53.46% 0.0612 -0.1712)
OKLCHoklch(53.46% 0.182 289.7)
XYZxyz(20.5892, 13.8211, 59.3287)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F52CD #B0CD52
analogous
#5273CD #6F52CD #AD52CD
triadic
#6F52CD #CD6F52 #52CD6F
tetradic
#6F52CD #CD5273 #B0CD52 #52CDAD
square
#6F52CD #CD5273 #B0CD52 #52CDAD
split-complementary
#6F52CD #CDAD52 #73CD52
monochromatic
#3A2580 #5033AF #6F52CD #9781DB #BEB1E8

Accessibility & contrast

On white

5.58
#6F52CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#6F52CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F52CD
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F52CD#FFFFFF#000000##FFFFFF
##6F52CD1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f52cd;
/* rgb */ color: rgb(111, 82, 205);
/* oklch */ color: oklch(53.5% 0.182 289.7);
Tailwind
colors: {
  custom: {
    50: '#9f84dd',
    500: '#6f52cd',
    950: '#000000',
  },
}
SCSS
$custom: #6f52cd;
$custom-light: #9f84dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6f52cd",
  "rgb": {
    "r": 111,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 254.146,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53463,
    "c": 0.18185,
    "h": 289.7
  },
  "luminance": 0.13822
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6F52CD

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

Preview Lab → · Contrast checker → · Palette generator →

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