#6E52F2#6E52F2

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

Color values

HEX#6E52F2
RGBrgb(110, 82, 242)
HSLhsl(251, 86%, 64%)
HSVhsv(251, 66%, 95%)
CMYKcmyk(54.5%, 66.1%, 0%, 5.1%)
CIE-LABlab(46.66, 52.28, -76.62)
CIE-LCHlch(46.66, 92.76, 304.31°)
OKLaboklab(56.26% 0.0565 -0.2203)
OKLCHoklch(56.26% 0.227 284.4)
XYZxyz(25.4698, 15.7589, 85.6869)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E52F2 #D6F252
analogous
#5286F2 #6E52F2 #BE52F2
triadic
#6E52F2 #F26E52 #52F26E
tetradic
#6E52F2 #F25286 #D6F252 #52F2BE
square
#6E52F2 #F25286 #D6F252 #52F2BE
split-complementary
#6E52F2 #F2BE52 #86F252
monochromatic
#2C0EBC #3E19EE #6E52F2 #9E8BF6 #CDC4FB

Accessibility & contrast

On white

5.06
#6E52F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#6E52F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E52F2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E52F2#FFFFFF#000000##FFFFFF
##6E52F21.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F7
Deuteranopia (green-blind)
#0069EF
Tritanopia (blue-blind)
#317B9B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6e52f2;
/* rgb */ color: rgb(110, 82, 242);
/* oklch */ color: oklch(56.3% 0.227 284.4);
Tailwind
colors: {
  custom: {
    50: '#a384f7',
    500: '#6e52f2',
    950: '#000000',
  },
}
SCSS
$custom: #6e52f2;
$custom-light: #a384f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6e52f2",
  "rgb": {
    "r": 110,
    "g": 82,
    "b": 242
  },
  "hsl": {
    "h": 250.5,
    "s": 86.022,
    "l": 63.529
  },
  "oklch": {
    "l": 0.56256,
    "c": 0.2274,
    "h": 284.4
  },
  "luminance": 0.1576
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6E52F2

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

Preview Lab → · Contrast checker → · Palette generator →

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