#6D50C8#6D50C8

#6D50C8 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.6% C 0.178 H 290.0°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#6D50C8
RGBrgb(109, 80, 200)
HSLhsl(255, 52%, 55%)
HSVhsv(255, 60%, 78%)
CMYKcmyk(45.5%, 60%, 0%, 21.6%)
CIE-LABlab(43.00, 41.08, -58.65)
CIE-LCHlch(43.00, 71.60, 305.01°)
OKLaboklab(52.59% 0.061 -0.1675)
OKLCHoklch(52.59% 0.178 290)
XYZxyz(19.5977, 13.1579, 56.1395)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D50C8 #ABC850
analogous
#506FC8 #6D50C8 #A950C8
triadic
#6D50C8 #C86D50 #50C86D
tetradic
#6D50C8 #C8506F #ABC850 #50C8A9
square
#6D50C8 #C8506F #ABC850 #50C8A9
split-complementary
#6D50C8 #C8A950 #6FC850
monochromatic
#3A2678 #5034A6 #6D50C8 #947FD7 #BBADE5

Accessibility & contrast

On white

5.78
#6D50C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#6D50C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D50C8
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D50C8#FFFFFF#000000##FFFFFF
##6D50C81.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#0063C5
Tritanopia (blue-blind)
#516B84
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6d50c8;
/* rgb */ color: rgb(109, 80, 200);
/* oklch */ color: oklch(52.6% 0.178 290.0);
Tailwind
colors: {
  custom: {
    50: '#9d82d9',
    500: '#6d50c8',
    950: '#000000',
  },
}
SCSS
$custom: #6d50c8;
$custom-light: #9d82d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d50c8",
  "rgb": {
    "r": 109,
    "g": 80,
    "b": 200
  },
  "hsl": {
    "h": 254.5,
    "s": 52.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52594,
    "c": 0.17825,
    "h": 290
  },
  "luminance": 0.13159
}

Semantic roles & 50–950 ramp

primary
#6D50C8
secondary
#C7D3A1
accent
#DC4CB9
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6D50C8

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

Preview Lab → · Contrast checker → · Palette generator →

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