#6F4DF2#6F4DF2

#6F4DF2 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.6% C 0.233 H 285.4°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#6F4DF2
RGBrgb(111, 77, 242)
HSLhsl(252, 86%, 63%)
HSVhsv(252, 68%, 95%)
CMYKcmyk(54.1%, 68.2%, 0%, 5.1%)
CIE-LABlab(45.77, 55.11, -78.07)
CIE-LCHlch(45.77, 95.56, 305.22°)
OKLaboklab(55.64% 0.062 -0.2245)
OKLCHoklch(55.64% 0.233 285.4)
XYZxyz(25.2316, 15.0967, 85.5716)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F4DF2 #D0F24D
analogous
#4D7DF2 #6F4DF2 #C24DF2
triadic
#6F4DF2 #F26F4D #4DF26F
tetradic
#6F4DF2 #F24D7D #D0F24D #4DF2C2
square
#6F4DF2 #F24D7D #D0F24D #4DF2C2
split-complementary
#6F4DF2 #F2C24D #7DF24D
monochromatic
#300DB7 #4114EE #6F4DF2 #9D86F6 #CBBFFA

Accessibility & contrast

On white

5.22
#6F4DF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#6F4DF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F4DF2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F4DF2#FFFFFF#000000##FFFFFF
##6F4DF21.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F7
Deuteranopia (green-blind)
#0067EF
Tritanopia (blue-blind)
#35789A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6f4df2;
/* rgb */ color: rgb(111, 77, 242);
/* oklch */ color: oklch(55.6% 0.233 285.4);
Tailwind
colors: {
  custom: {
    50: '#a481f8',
    500: '#6f4df2',
    950: '#000000',
  },
}
SCSS
$custom: #6f4df2;
$custom-light: #a481f8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f4df2",
  "rgb": {
    "r": 111,
    "g": 77,
    "b": 242
  },
  "hsl": {
    "h": 252.364,
    "s": 86.387,
    "l": 62.549
  },
  "oklch": {
    "l": 0.55638,
    "c": 0.23291,
    "h": 285.4
  },
  "luminance": 0.15098
}

Semantic roles & 50–950 ramp

primary
#6F4DF2
secondary
#DFEBAF
accent
#E303B5
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6F4DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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