#6C50EB#6C50EB

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

Color values

HEX#6C50EB
RGBrgb(108, 80, 235)
HSLhsl(251, 79%, 62%)
HSVhsv(251, 66%, 92%)
CMYKcmyk(54%, 66%, 0%, 7.8%)
CIE-LABlab(45.53, 51.02, -74.53)
CIE-LCHlch(45.53, 90.32, 304.39°)
OKLaboklab(55.23% 0.0565 -0.2142)
OKLCHoklch(55.23% 0.222 284.8)
XYZxyz(24.0439, 14.9223, 80.1945)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C50EB #CFEB50
analogous
#5082EB #6C50EB #BA50EB
triadic
#6C50EB #EB6C50 #50EB6C
tetradic
#6C50EB #EB5082 #CFEB50 #50EBBA
square
#6C50EB #EB5082 #CFEB50 #50EBBA
split-complementary
#6C50EB #EBBA50 #82EB50
monochromatic
#2F14AD #3E1AE4 #6C50EB #9A87F1 #C8BEF8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C50EB#FFFFFF#000000##FFFFFF
##6C50EB1.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)
#0070F0
Deuteranopia (green-blind)
#0067E8
Tritanopia (blue-blind)
#337797
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6c50eb;
/* rgb */ color: rgb(108, 80, 235);
/* oklch */ color: oklch(55.2% 0.222 284.8);
Tailwind
colors: {
  custom: {
    50: '#a183f3',
    500: '#6c50eb',
    950: '#000000',
  },
}
SCSS
$custom: #6c50eb;
$custom-light: #a183f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c50eb",
  "rgb": {
    "r": 108,
    "g": 80,
    "b": 235
  },
  "hsl": {
    "h": 250.839,
    "s": 79.487,
    "l": 61.765
  },
  "oklch": {
    "l": 0.55228,
    "c": 0.22155,
    "h": 284.8
  },
  "luminance": 0.14924
}

Semantic roles & 50–950 ramp

primary
#6C50EB
secondary
#DEE8AF
accent
#DC0AB6
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6C50EB

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

Preview Lab → · Contrast checker → · Palette generator →

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