#6A3FC6#6A3FC6

#6A3FC6 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.6% C 0.198 H 292.3°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#6A3FC6
RGBrgb(106, 63, 198)
HSLhsl(259, 54%, 51%)
HSVhsv(259, 68%, 78%)
CMYKcmyk(46.5%, 68.2%, 0%, 22.4%)
CIE-LABlab(39.06, 49.32, -63.90)
CIE-LCHlch(39.06, 80.72, 307.66°)
OKLaboklab(49.63% 0.0749 -0.183)
OKLCHoklch(49.63% 0.198 292.3)
XYZxyz(17.9116, 10.6958, 54.5359)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3FC6 #9BC63F
analogous
#3F57C6 #6A3FC6 #AD3FC6
triadic
#6A3FC6 #C66A3F #3FC66A
tetradic
#6A3FC6 #C63F57 #9BC63F #3FC6AD
square
#6A3FC6 #C63F57 #9BC63F #3FC6AD
split-complementary
#6A3FC6 #C6AD3F #57C63F
monochromatic
#38206B #502E9A #6A3FC6 #8F6ED4 #B39DE2

Accessibility & contrast

On white

6.69
#6A3FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#6A3FC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3FC6
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3FC6#FFFFFF#000000##FFFFFF
##6A3FC61.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECA
Deuteranopia (green-blind)
#0059C3
Tritanopia (blue-blind)
#4E617D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6a3fc6;
/* rgb */ color: rgb(106, 63, 198);
/* oklch */ color: oklch(49.6% 0.198 292.3);
Tailwind
colors: {
  custom: {
    50: '#9c77d8',
    500: '#6a3fc6',
    950: '#000000',
  },
}
SCSS
$custom: #6a3fc6;
$custom-light: #9c77d8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3fc6",
  "rgb": {
    "r": 106,
    "g": 63,
    "b": 198
  },
  "hsl": {
    "h": 259.111,
    "s": 54.217,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49626,
    "c": 0.19775,
    "h": 292.3
  },
  "luminance": 0.10696
}

Semantic roles & 50–950 ramp

primary
#6A3FC6
secondary
#BBCE93
accent
#DE4AAF
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6A3FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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