#6A3CE6#6A3CE6

#6A3CE6 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.0% C 0.237 H 287.4°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#6A3CE6
RGBrgb(106, 60, 230)
HSLhsl(256, 77%, 57%)
HSVhsv(256, 74%, 90%)
CMYKcmyk(53.9%, 73.9%, 0%, 9.8%)
CIE-LABlab(41.23, 59.57, -78.75)
CIE-LCHlch(41.23, 98.74, 307.10°)
OKLaboklab(51.99% 0.0709 -0.2266)
OKLCHoklch(51.99% 0.237 287.4)
XYZxyz(21.8384, 12.0079, 76.0146)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3CE6 #B8E63C
analogous
#3C63E6 #6A3CE6 #BF3CE6
triadic
#6A3CE6 #E66A3C #3CE66A
tetradic
#6A3CE6 #E63C63 #B8E63C #3CE6BF
square
#6A3CE6 #E63C63 #B8E63C #3CE6BF
split-complementary
#6A3CE6 #E6BF3C #63E63C
monochromatic
#361395 #4A1ACB #6A3CE6 #9372ED #BDA8F4

Accessibility & contrast

On white

6.17
#6A3CE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#6A3CE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3CE6
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3CE6#FFFFFF#000000##FFFFFF
##6A3CE61.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065EB
Deuteranopia (green-blind)
#005DE3
Tritanopia (blue-blind)
#356B8E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6a3ce6;
/* rgb */ color: rgb(106, 60, 230);
/* oklch */ color: oklch(52.0% 0.237 287.4);
Tailwind
colors: {
  custom: {
    50: '#a177ef',
    500: '#6a3ce6',
    950: '#000000',
  },
}
SCSS
$custom: #6a3ce6;
$custom-light: #a177ef;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3ce6",
  "rgb": {
    "r": 106,
    "g": 60,
    "b": 230
  },
  "hsl": {
    "h": 256.235,
    "s": 77.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51992,
    "c": 0.2374,
    "h": 287.4
  },
  "luminance": 0.12009
}

Semantic roles & 50–950 ramp

primary
#6A3CE6
secondary
#CFE29C
accent
#F434C0
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100917
muted
#7F7B85

Preview Lab

Preview with #6A3CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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