#6A3FCE#6A3FCE

#6A3FCE is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.3% C 0.207 H 290.8°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#6A3FCE
RGBrgb(106, 63, 206)
HSLhsl(258, 59%, 53%)
HSVhsv(258, 69%, 81%)
CMYKcmyk(48.5%, 69.4%, 0%, 19.2%)
CIE-LABlab(39.71, 51.52, -67.49)
CIE-LCHlch(39.71, 84.90, 307.35°)
OKLaboklab(50.29% 0.0736 -0.1936)
OKLCHoklch(50.29% 0.207 290.8)
XYZxyz(18.8588, 11.0747, 59.5245)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3FCE #A3CE3F
analogous
#3F5BCE #6A3FCE #B13FCE
triadic
#6A3FCE #CE6A3F #3FCE6A
tetradic
#6A3FCE #CE3F5B #A3CE3F #3FCEB1
square
#6A3FCE #CE3F5B #A3CE3F #3FCEB1
split-complementary
#6A3FCE #CEB13F #5BCE3F
monochromatic
#381E75 #4F2AA6 #6A3FCE #9070DA #B6A1E7

Accessibility & contrast

On white

6.53
#6A3FCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#6A3FCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3FCE
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3FCE#FFFFFF#000000##FFFFFF
##6A3FCE1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D2
Deuteranopia (green-blind)
#005ACB
Tritanopia (blue-blind)
#496382
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6a3fce;
/* rgb */ color: rgb(106, 63, 206);
/* oklch */ color: oklch(50.3% 0.207 290.8);
Tailwind
colors: {
  custom: {
    50: '#9d77de',
    500: '#6a3fce',
    950: '#000000',
  },
}
SCSS
$custom: #6a3fce;
$custom-light: #9d77de;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3fce",
  "rgb": {
    "r": 106,
    "g": 63,
    "b": 206
  },
  "hsl": {
    "h": 258.042,
    "s": 59.336,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50285,
    "c": 0.20708,
    "h": 290.8
  },
  "luminance": 0.11075
}

Semantic roles & 50–950 ramp

primary
#6A3FCE
secondary
#C1D395
accent
#E345B3
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6A3FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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