#6F52F3#6F52F3

#6F52F3 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.4% C 0.228 H 284.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#6F52F3
RGBrgb(111, 82, 243)
HSLhsl(251, 87%, 64%)
HSVhsv(251, 66%, 95%)
CMYKcmyk(54.3%, 66.3%, 0%, 4.7%)
CIE-LABlab(46.82, 52.73, -76.91)
CIE-LCHlch(46.82, 93.25, 304.44°)
OKLaboklab(56.42% 0.0577 -0.2211)
OKLCHoklch(56.42% 0.228 284.6)
XYZxyz(25.7456, 15.8837, 86.4859)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F52F3 #D6F352
analogous
#5285F3 #6F52F3 #BF52F3
triadic
#6F52F3 #F36F52 #52F36F
tetradic
#6F52F3 #F35285 #D6F352 #52F3BF
square
#6F52F3 #F35285 #D6F352 #52F3BF
split-complementary
#6F52F3 #F3BF52 #85F352
monochromatic
#2D0DBD #3F19EF #6F52F3 #9F8BF7 #CEC4FB

Accessibility & contrast

On white

5.03
#6F52F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#6F52F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F52F3
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F52F3#FFFFFF#000000##FFFFFF
##6F52F31.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F8
Deuteranopia (green-blind)
#006AF0
Tritanopia (blue-blind)
#337B9C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6f52f3;
/* rgb */ color: rgb(111, 82, 243);
/* oklch */ color: oklch(56.4% 0.228 284.6);
Tailwind
colors: {
  custom: {
    50: '#a485f8',
    500: '#6f52f3',
    950: '#000000',
  },
}
SCSS
$custom: #6f52f3;
$custom-light: #a485f8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f52f3",
  "rgb": {
    "r": 111,
    "g": 82,
    "b": 243
  },
  "hsl": {
    "h": 250.807,
    "s": 87.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.5642,
    "c": 0.22849,
    "h": 284.6
  },
  "luminance": 0.15885
}

Semantic roles & 50–950 ramp

primary
#6F52F3
secondary
#E3EDB4
accent
#E402BB
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6F52F3

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

Preview Lab → · Contrast checker → · Palette generator →

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