#6F50EA#6F50EA

#6F50EA is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.4% C 0.220 H 286.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#6F50EA
RGBrgb(111, 80, 234)
HSLhsl(252, 79%, 62%)
HSVhsv(252, 66%, 92%)
CMYKcmyk(52.6%, 65.8%, 0%, 8.2%)
CIE-LABlab(45.71, 51.22, -73.66)
CIE-LCHlch(45.71, 89.72, 304.81°)
OKLaboklab(55.4% 0.0606 -0.2115)
OKLCHoklch(55.4% 0.22 286)
XYZxyz(24.2711, 15.0561, 79.4532)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F50EA #CBEA50
analogous
#507EEA #6F50EA #BC50EA
triadic
#6F50EA #EA6F50 #50EA6F
tetradic
#6F50EA #EA507E #CBEA50 #50EABC
square
#6F50EA #EA507E #CBEA50 #50EABC
split-complementary
#6F50EA #EABC50 #7EEA50
monochromatic
#3315AB #431BE2 #6F50EA #9C87F1 #C9BDF7

Accessibility & contrast

On white

5.24
#6F50EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#6F50EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F50EA
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F50EA#FFFFFF#000000##FFFFFF
##6F50EA1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EF
Deuteranopia (green-blind)
#0068E7
Tritanopia (blue-blind)
#3D7796
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6f50ea;
/* rgb */ color: rgb(111, 80, 234);
/* oklch */ color: oklch(55.4% 0.220 286.0);
Tailwind
colors: {
  custom: {
    50: '#a383f2',
    500: '#6f50ea',
    950: '#000000',
  },
}
SCSS
$custom: #6f50ea;
$custom-light: #a383f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f50ea",
  "rgb": {
    "r": 111,
    "g": 80,
    "b": 234
  },
  "hsl": {
    "h": 252.078,
    "s": 78.571,
    "l": 61.569
  },
  "oklch": {
    "l": 0.55399,
    "c": 0.22006,
    "h": 286
  },
  "luminance": 0.15057
}

Semantic roles & 50–950 ramp

primary
#6F50EA
secondary
#DCE8AE
accent
#DB0BB1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6F50EA

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

Preview Lab → · Contrast checker → · Palette generator →

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