#6F4CEC#6F4CEC

#6F4CEC is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.0% C 0.227 H 286.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#6F4CEC
RGBrgb(111, 76, 236)
HSLhsl(253, 81%, 61%)
HSVhsv(253, 68%, 93%)
CMYKcmyk(53%, 67.8%, 0%, 7.5%)
CIE-LABlab(45.09, 53.93, -75.81)
CIE-LCHlch(45.09, 93.04, 305.43°)
OKLaboklab(55% 0.0639 -0.2179)
OKLCHoklch(55% 0.227 286.3)
XYZxyz(24.2758, 14.6032, 80.8802)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F4CEC #C9EC4C
analogous
#4C79EC #6F4CEC #BF4CEC
triadic
#6F4CEC #EC6F4C #4CEC6F
tetradic
#6F4CEC #EC4C79 #C9EC4C #4CECBF
square
#6F4CEC #EC4C79 #C9EC4C #4CECBF
split-complementary
#6F4CEC #ECBF4C #79EC4C
monochromatic
#3412AB #4418E3 #6F4CEC #9C83F2 #C8BBF8

Accessibility & contrast

On white

5.36
#6F4CEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#6F4CEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F4CEC
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F4CEC#FFFFFF#000000##FFFFFF
##6F4CEC1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f4cec;
/* rgb */ color: rgb(111, 76, 236);
/* oklch */ color: oklch(55.0% 0.227 286.3);
Tailwind
colors: {
  custom: {
    50: '#a381f3',
    500: '#6f4cec',
    950: '#000000',
  },
}
SCSS
$custom: #6f4cec;
$custom-light: #a381f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f4cec",
  "rgb": {
    "r": 111,
    "g": 76,
    "b": 236
  },
  "hsl": {
    "h": 253.125,
    "s": 80.808,
    "l": 61.176
  },
  "oklch": {
    "l": 0.55,
    "c": 0.22703,
    "h": 286.3
  },
  "luminance": 0.14605
}

Semantic roles & 50–950 ramp

primary
#6F4CEC
secondary
#DBE8AC
accent
#DD08AF
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6F4CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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