#6B50CA#6B50CA

#6B50CA is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.6% C 0.181 H 288.8°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#6B50CA
RGBrgb(107, 80, 202)
HSLhsl(253, 54%, 55%)
HSVhsv(253, 60%, 79%)
CMYKcmyk(47%, 60.4%, 0%, 20.8%)
CIE-LABlab(42.95, 41.24, -59.89)
CIE-LCHlch(42.95, 72.71, 304.55°)
OKLaboklab(52.56% 0.0583 -0.1712)
OKLCHoklch(52.56% 0.181 288.8)
XYZxyz(19.5897, 13.1266, 57.3672)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B50CA #AFCA50
analogous
#5072CA #6B50CA #A850CA
triadic
#6B50CA #CA6B50 #50CA6B
tetradic
#6B50CA #CA5072 #AFCA50 #50CAA8
square
#6B50CA #CA5072 #AFCA50 #50CAA8
split-complementary
#6B50CA #CAA850 #72CA50
monochromatic
#38257A #4D33A9 #6B50CA #937FD8 #BAAEE6

Accessibility & contrast

On white

5.79
#6B50CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6B50CA
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B50CA#FFFFFF#000000##FFFFFF
##6B50CA1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#0062C7
Tritanopia (blue-blind)
#4C6C85
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6b50ca;
/* rgb */ color: rgb(107, 80, 202);
/* oklch */ color: oklch(52.6% 0.181 288.8);
Tailwind
colors: {
  custom: {
    50: '#9c82db',
    500: '#6b50ca',
    950: '#000000',
  },
}
SCSS
$custom: #6b50ca;
$custom-light: #9c82db;
$custom-dark: #000000;
JSON
{
  "hex": "#6b50ca",
  "rgb": {
    "r": 107,
    "g": 80,
    "b": 202
  },
  "hsl": {
    "h": 253.279,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.52559,
    "c": 0.18085,
    "h": 288.8
  },
  "luminance": 0.13127
}

Semantic roles & 50–950 ramp

primary
#6B50CA
secondary
#C9D4A1
accent
#DD4BBD
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6B50CA

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

Preview Lab → · Contrast checker → · Palette generator →

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