#6F4DEC#6F4DEC

#6F4DEC is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.1% C 0.226 H 286.2°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#6F4DEC
RGBrgb(111, 77, 236)
HSLhsl(253, 81%, 61%)
HSVhsv(253, 67%, 93%)
CMYKcmyk(53%, 67.4%, 0%, 7.5%)
CIE-LABlab(45.28, 53.40, -75.49)
CIE-LCHlch(45.28, 92.47, 305.28°)
OKLaboklab(55.14% 0.063 -0.2169)
OKLCHoklch(55.14% 0.226 286.2)
XYZxyz(24.3452, 14.7421, 80.9033)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F4DEC #CAEC4D
analogous
#4D7BEC #6F4DEC #BF4DEC
triadic
#6F4DEC #EC6F4D #4DEC6F
tetradic
#6F4DEC #EC4D7B #CAEC4D #4DECBF
square
#6F4DEC #EC4D7B #CAEC4D #4DECBF
split-complementary
#6F4DEC #ECBF4D #7BEC4D
monochromatic
#3312AC #4418E4 #6F4DEC #9C84F2 #C8BCF8

Accessibility & contrast

On white

5.32
#6F4DEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#6F4DEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F4DEC
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F4DEC#FFFFFF#000000##FFFFFF
##6F4DEC1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF1
Deuteranopia (green-blind)
#0066E9
Tritanopia (blue-blind)
#3B7696
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6f4dec;
/* rgb */ color: rgb(111, 77, 236);
/* oklch */ color: oklch(55.1% 0.226 286.2);
Tailwind
colors: {
  custom: {
    50: '#a381f3',
    500: '#6f4dec',
    950: '#000000',
  },
}
SCSS
$custom: #6f4dec;
$custom-light: #a381f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f4dec",
  "rgb": {
    "r": 111,
    "g": 77,
    "b": 236
  },
  "hsl": {
    "h": 252.83,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.55138,
    "c": 0.22589,
    "h": 286.2
  },
  "luminance": 0.14743
}

Semantic roles & 50–950 ramp

primary
#6F4DEC
secondary
#DBE8AD
accent
#DD08B0
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6F4DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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