#6F4FEB#6F4FEB

#6F4FEB is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.3% C 0.222 H 286.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#6F4FEB
RGBrgb(111, 79, 235)
HSLhsl(252, 80%, 62%)
HSVhsv(252, 66%, 92%)
CMYKcmyk(52.8%, 66.4%, 0%, 7.8%)
CIE-LABlab(45.59, 52.05, -74.42)
CIE-LCHlch(45.59, 90.82, 304.97°)
OKLaboklab(55.34% 0.0614 -0.2138)
OKLCHoklch(55.34% 0.222 286)
XYZxyz(24.3424, 14.9683, 80.1877)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F4FEB #CBEB4F
analogous
#4F7DEB #6F4FEB #BD4FEB
triadic
#6F4FEB #EB6F4F #4FEB6F
tetradic
#6F4FEB #EB4F7D #CBEB4F #4FEBBD
square
#6F4FEB #EB4F7D #CBEB4F #4FEBBD
split-complementary
#6F4FEB #EBBD4F #7DEB4F
monochromatic
#3314AC #431AE3 #6F4FEB #9C86F1 #C9BDF7

Accessibility & contrast

On white

5.26
#6F4FEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#6F4FEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F4FEB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F4FEB#FFFFFF#000000##FFFFFF
##6F4FEB1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F0
Deuteranopia (green-blind)
#0067E8
Tritanopia (blue-blind)
#3C7797
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6f4feb;
/* rgb */ color: rgb(111, 79, 235);
/* oklch */ color: oklch(55.3% 0.222 286.0);
Tailwind
colors: {
  custom: {
    50: '#a382f3',
    500: '#6f4feb',
    950: '#000000',
  },
}
SCSS
$custom: #6f4feb;
$custom-light: #a382f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f4feb",
  "rgb": {
    "r": 111,
    "g": 79,
    "b": 235
  },
  "hsl": {
    "h": 252.308,
    "s": 79.592,
    "l": 61.569
  },
  "oklch": {
    "l": 0.55337,
    "c": 0.22242,
    "h": 286
  },
  "luminance": 0.1497
}

Semantic roles & 50–950 ramp

primary
#6F4FEB
secondary
#DCE8AE
accent
#DC0AB1
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6F4FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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