#6A4CCB#6A4CCB

#6A4CCB is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.9% C 0.187 H 289.0°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#6A4CCB
RGBrgb(106, 76, 203)
HSLhsl(254, 55%, 55%)
HSVhsv(254, 63%, 80%)
CMYKcmyk(47.8%, 62.6%, 0%, 20.4%)
CIE-LABlab(42.07, 43.61, -61.91)
CIE-LCHlch(42.07, 75.73, 305.16°)
OKLaboklab(51.91% 0.0612 -0.1772)
OKLCHoklch(51.91% 0.187 289)
XYZxyz(19.3047, 12.5441, 57.8924)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4CCB #ADCB4C
analogous
#4C6ECB #6A4CCB #A94CCB
triadic
#6A4CCB #CB6A4C #4CCB6A
tetradic
#6A4CCB #CB4C6E #ADCB4C #4CCBA9
square
#6A4CCB #CB4C6E #ADCB4C #4CCBA9
split-complementary
#6A4CCB #CBA94C #6ECB4C
monochromatic
#382379 #4D31A9 #6A4CCB #917BD9 #B9ABE7

Accessibility & contrast

On white

5.98
#6A4CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#6A4CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4CCB
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4CCB#FFFFFF#000000##FFFFFF
##6A4CCB1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#4A6A84
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6a4ccb;
/* rgb */ color: rgb(106, 76, 203);
/* oklch */ color: oklch(51.9% 0.187 289.0);
Tailwind
colors: {
  custom: {
    50: '#9c7fdc',
    500: '#6a4ccb',
    950: '#000000',
  },
}
SCSS
$custom: #6a4ccb;
$custom-light: #9c7fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4ccb",
  "rgb": {
    "r": 106,
    "g": 76,
    "b": 203
  },
  "hsl": {
    "h": 254.173,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51914,
    "c": 0.18743,
    "h": 289
  },
  "luminance": 0.12545
}

Semantic roles & 50–950 ramp

primary
#6A4CCB
secondary
#C8D49F
accent
#DE49BB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6A4CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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