#6F52E2#6F52E2

#6F52E2 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.1% C 0.208 H 286.7°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#6F52E2
RGBrgb(111, 82, 226)
HSLhsl(252, 71%, 60%)
HSVhsv(252, 64%, 89%)
CMYKcmyk(50.9%, 63.7%, 0%, 11.4%)
CIE-LABlab(45.50, 47.81, -69.47)
CIE-LCHlch(45.50, 84.34, 304.54°)
OKLaboklab(55.06% 0.0597 -0.1992)
OKLCHoklch(55.06% 0.208 286.7)
XYZxyz(23.2962, 14.9039, 73.5860)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F52E2 #C5E252
analogous
#527DE2 #6F52E2 #B752E2
triadic
#6F52E2 #E26F52 #52E26F
tetradic
#6F52E2 #E2527D #C5E252 #52E2B7
square
#6F52E2 #E2527D #C5E252 #52E2B7
split-complementary
#6F52E2 #E2B752 #7DE252
monochromatic
#351B9F #4723D3 #6F52E2 #9B86EB #C6BBF4

Accessibility & contrast

On white

5.28
#6F52E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#6F52E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F52E2
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F52E2#FFFFFF#000000##FFFFFF
##6F52E21.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE7
Deuteranopia (green-blind)
#0068DF
Tritanopia (blue-blind)
#447593
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6f52e2;
/* rgb */ color: rgb(111, 82, 226);
/* oklch */ color: oklch(55.1% 0.208 286.7);
Tailwind
colors: {
  custom: {
    50: '#a184ec',
    500: '#6f52e2',
    950: '#000000',
  },
}
SCSS
$custom: #6f52e2;
$custom-light: #a184ec;
$custom-dark: #000000;
JSON
{
  "hex": "#6f52e2",
  "rgb": {
    "r": 111,
    "g": 82,
    "b": 226
  },
  "hsl": {
    "h": 252.083,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.55056,
    "c": 0.208,
    "h": 286.7
  },
  "luminance": 0.14905
}

Semantic roles & 50–950 ramp

primary
#6F52E2
secondary
#D8E3AC
accent
#D312AC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #6F52E2

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

Preview Lab → · Contrast checker → · Palette generator →

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