#6B50EC#6B50EC

#6B50EC is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.2% C 0.223 H 284.3°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#6B50EC
RGBrgb(107, 80, 236)
HSLhsl(250, 80%, 62%)
HSVhsv(250, 66%, 93%)
CMYKcmyk(54.7%, 66.1%, 0%, 7.5%)
CIE-LABlab(45.52, 51.15, -75.11)
CIE-LCHlch(45.52, 90.87, 304.25°)
OKLaboklab(55.23% 0.0551 -0.2159)
OKLCHoklch(55.23% 0.223 284.3)
XYZxyz(24.0678, 14.9178, 80.9518)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B50EC #D1EC50
analogous
#5083EC #6B50EC #B950EC
triadic
#6B50EC #EC6B50 #50EC6B
tetradic
#6B50EC #EC5083 #D1EC50 #50ECB9
square
#6B50EC #EC5083 #D1EC50 #50ECB9
split-complementary
#6B50EC #ECB950 #83EC50
monochromatic
#2E13AF #3C19E6 #6B50EC #9A87F2 #C8BEF8

Accessibility & contrast

On white

5.27
#6B50EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#6B50EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B50EC
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B50EC#FFFFFF#000000##FFFFFF
##6B50EC1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F1
Deuteranopia (green-blind)
#0067E9
Tritanopia (blue-blind)
#2F7897
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6b50ec;
/* rgb */ color: rgb(107, 80, 236);
/* oklch */ color: oklch(55.2% 0.223 284.3);
Tailwind
colors: {
  custom: {
    50: '#a183f3',
    500: '#6b50ec',
    950: '#000000',
  },
}
SCSS
$custom: #6b50ec;
$custom-light: #a183f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b50ec",
  "rgb": {
    "r": 107,
    "g": 80,
    "b": 236
  },
  "hsl": {
    "h": 250.385,
    "s": 80.412,
    "l": 61.961
  },
  "oklch": {
    "l": 0.55227,
    "c": 0.22286,
    "h": 284.3
  },
  "luminance": 0.14919
}

Semantic roles & 50–950 ramp

primary
#6B50EC
secondary
#DFE9AF
accent
#DD09B8
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6B50EC

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

Preview Lab → · Contrast checker → · Palette generator →

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