#6F52F2#6F52F2

#6F52F2 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.3% C 0.227 H 284.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#6F52F2
RGBrgb(111, 82, 242)
HSLhsl(251, 86%, 64%)
HSVhsv(251, 66%, 95%)
CMYKcmyk(54.1%, 66.1%, 0%, 5.1%)
CIE-LABlab(46.74, 52.44, -76.48)
CIE-LCHlch(46.74, 92.73, 304.44°)
OKLaboklab(56.34% 0.0578 -0.2198)
OKLCHoklch(56.34% 0.227 284.7)
XYZxyz(25.5950, 15.8234, 85.6927)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F52F2 #D5F252
analogous
#5285F2 #6F52F2 #BF52F2
triadic
#6F52F2 #F26F52 #52F26F
tetradic
#6F52F2 #F25285 #D5F252 #52F2BF
square
#6F52F2 #F25285 #D5F252 #52F2BF
split-complementary
#6F52F2 #F2BF52 #85F252
monochromatic
#2E0EBC #4019EE #6F52F2 #9E8BF6 #CEC4FB

Accessibility & contrast

On white

5.04
#6F52F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#6F52F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F52F2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F52F2#FFFFFF#000000##FFFFFF
##6F52F21.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F7
Deuteranopia (green-blind)
#006AEF
Tritanopia (blue-blind)
#347B9B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6f52f2;
/* rgb */ color: rgb(111, 82, 242);
/* oklch */ color: oklch(56.3% 0.227 284.7);
Tailwind
colors: {
  custom: {
    50: '#a485f7',
    500: '#6f52f2',
    950: '#000000',
  },
}
SCSS
$custom: #6f52f2;
$custom-light: #a485f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f52f2",
  "rgb": {
    "r": 111,
    "g": 82,
    "b": 242
  },
  "hsl": {
    "h": 250.875,
    "s": 86.022,
    "l": 63.529
  },
  "oklch": {
    "l": 0.56338,
    "c": 0.22729,
    "h": 284.7
  },
  "luminance": 0.15825
}

Semantic roles & 50–950 ramp

primary
#6F52F2
secondary
#E2ECB4
accent
#E303BA
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6F52F2

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

Preview Lab → · Contrast checker → · Palette generator →

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