#6D3CEF#6D3CEF

#6D3CEF is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 53.1% C 0.247 H 287.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#6D3CEF
RGBrgb(109, 60, 239)
HSLhsl(256, 85%, 59%)
HSVhsv(256, 75%, 94%)
CMYKcmyk(54.4%, 74.9%, 0%, 6.3%)
CIE-LABlab(42.33, 62.39, -82.03)
CIE-LCHlch(42.33, 103.06, 307.26°)
OKLaboklab(53.08% 0.0729 -0.2361)
OKLCHoklch(53.08% 0.247 287.2)
XYZxyz(23.4979, 12.7137, 82.8604)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3CEF #BEEF3C
analogous
#3C64EF #6D3CEF #C73CEF
triadic
#6D3CEF #EF6D3C #3CEF6D
tetradic
#6D3CEF #EF3C64 #BEEF3C #3CEFC7
square
#6D3CEF #EF3C64 #BEEF3C #3CEFC7
split-complementary
#6D3CEF #EFC73C #64EF3C
monochromatic
#360DA3 #4912DC #6D3CEF #9775F4 #C2ADF8

Accessibility & contrast

On white

5.93
#6D3CEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#6D3CEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D3CEF
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3CEF#FFFFFF#000000##FFFFFF
##6D3CEF1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068F4
Deuteranopia (green-blind)
#005FEC
Tritanopia (blue-blind)
#346F94
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6d3cef;
/* rgb */ color: rgb(109, 60, 239);
/* oklch */ color: oklch(53.1% 0.247 287.2);
Tailwind
colors: {
  custom: {
    50: '#a477f6',
    500: '#6d3cef',
    950: '#000000',
  },
}
SCSS
$custom: #6d3cef;
$custom-light: #a477f6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3cef",
  "rgb": {
    "r": 109,
    "g": 60,
    "b": 239
  },
  "hsl": {
    "h": 256.425,
    "s": 84.834,
    "l": 58.627
  },
  "oklch": {
    "l": 0.53079,
    "c": 0.24707,
    "h": 287.2
  },
  "luminance": 0.12715
}

Semantic roles & 50–950 ramp

primary
#6D3CEF
secondary
#D3E7A0
accent
#FB2DC3
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#110917
muted
#807B85

Preview Lab

Preview with #6D3CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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