#6F52FA#6F52FA

#6F52FA is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.0% C 0.237 H 283.8°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#6F52FA
RGBrgb(111, 82, 250)
HSLhsl(250, 94%, 65%)
HSVhsv(250, 67%, 98%)
CMYKcmyk(55.6%, 67.2%, 0%, 2%)
CIE-LABlab(47.38, 54.75, -79.90)
CIE-LCHlch(47.38, 96.86, 304.42°)
OKLaboklab(57% 0.0567 -0.2299)
OKLCHoklch(57% 0.237 283.8)
XYZxyz(26.8229, 16.3146, 92.1596)
Luminance0.1632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F52FA #DDFA52
analogous
#5289FA #6F52FA #C352FA
triadic
#6F52FA #FA6F52 #52FA6F
tetradic
#6F52FA #FA5289 #DDFA52 #52FAC3
square
#6F52FA #FA5289 #DDFA52 #52FAC3
split-complementary
#6F52FA #FAC352 #89FA52
monochromatic
#2806CC #3D17F8 #6F52FA #A18DFC #D2C9FD

Accessibility & contrast

On white

4.93
#6F52FA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#6F52FA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F52FA
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F52FA#FFFFFF#000000##FFFFFF
##6F52FA1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075FF
Deuteranopia (green-blind)
#006BF7
Tritanopia (blue-blind)
#297EA0
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6f52fa;
/* rgb */ color: rgb(111, 82, 250);
/* oklch */ color: oklch(57.0% 0.237 283.8);
Tailwind
colors: {
  custom: {
    50: '#a585fd',
    500: '#6f52fa',
    950: '#000000',
  },
}
SCSS
$custom: #6f52fa;
$custom-light: #a585fd;
$custom-dark: #000000;
JSON
{
  "hex": "#6f52fa",
  "rgb": {
    "r": 111,
    "g": 82,
    "b": 250
  },
  "hsl": {
    "h": 250.357,
    "s": 94.382,
    "l": 65.098
  },
  "oklch": {
    "l": 0.56999,
    "c": 0.23675,
    "h": 283.8
  },
  "luminance": 0.16316
}

Semantic roles & 50–950 ramp

primary
#6F52FA
secondary
#E7F0B7
accent
#E600BE
background
#FAF8FF
surface
#F5EFFF
border
#CFCAD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #6F52FA

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

Preview Lab → · Contrast checker → · Palette generator →

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