#6A50CD#6A50CD

#6A50CD is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.7% C 0.185 H 287.9°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#6A50CD
RGBrgb(106, 80, 205)
HSLhsl(252, 56%, 56%)
HSVhsv(252, 61%, 80%)
CMYKcmyk(48.3%, 61%, 0%, 19.6%)
CIE-LABlab(43.08, 41.91, -61.43)
CIE-LCHlch(43.08, 74.36, 304.30°)
OKLaboklab(52.69% 0.0568 -0.1757)
OKLCHoklch(52.69% 0.185 287.9)
XYZxyz(19.8288, 13.2084, 59.2505)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A50CD #B3CD50
analogous
#5074CD #6A50CD #A850CD
triadic
#6A50CD #CD6A50 #50CD6A
tetradic
#6A50CD #CD5074 #B3CD50 #50CDA8
square
#6A50CD #CD5074 #B3CD50 #50CDA8
split-complementary
#6A50CD #CDA850 #74CD50
monochromatic
#37247E #4C32AE #6A50CD #9380DB #BBAFE8

Accessibility & contrast

On white

5.77
#6A50CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#6A50CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A50CD
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A50CD#FFFFFF#000000##FFFFFF
##6A50CD1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#0062CA
Tritanopia (blue-blind)
#486D87
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6a50cd;
/* rgb */ color: rgb(106, 80, 205);
/* oklch */ color: oklch(52.7% 0.185 287.9);
Tailwind
colors: {
  custom: {
    50: '#9c82dd',
    500: '#6a50cd',
    950: '#000000',
  },
}
SCSS
$custom: #6a50cd;
$custom-light: #9c82dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a50cd",
  "rgb": {
    "r": 106,
    "g": 80,
    "b": 205
  },
  "hsl": {
    "h": 252.48,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52694,
    "c": 0.1847,
    "h": 287.9
  },
  "luminance": 0.13209
}

Semantic roles & 50–950 ramp

primary
#6A50CD
secondary
#CCD6A2
accent
#DF49C0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6A50CD

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

Preview Lab → · Contrast checker → · Palette generator →

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