#6A3CEF#6A3CEF

#6A3CEF is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.8% C 0.247 H 286.1°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#6A3CEF
RGBrgb(106, 60, 239)
HSLhsl(255, 85%, 59%)
HSVhsv(255, 75%, 94%)
CMYKcmyk(55.6%, 74.9%, 0%, 6.3%)
CIE-LABlab(42.04, 62.01, -82.51)
CIE-LCHlch(42.04, 103.22, 306.93°)
OKLaboklab(52.81% 0.0687 -0.2376)
OKLCHoklch(52.81% 0.247 286.1)
XYZxyz(23.1350, 12.5266, 82.8434)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3CEF #C1EF3C
analogous
#3C67EF #6A3CEF #C33CEF
triadic
#6A3CEF #EF6A3C #3CEF6A
tetradic
#6A3CEF #EF3C67 #C1EF3C #3CEFC3
square
#6A3CEF #EF3C67 #C1EF3C #3CEFC3
split-complementary
#6A3CEF #EFC33C #67EF3C
monochromatic
#340DA3 #4612DC #6A3CEF #9575F4 #C0ADF8

Accessibility & contrast

On white

5.99
#6A3CEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6A3CEF
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3CEF#FFFFFF#000000##FFFFFF
##6A3CEF1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068F4
Deuteranopia (green-blind)
#005EEC
Tritanopia (blue-blind)
#2A6F94
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6a3cef;
/* rgb */ color: rgb(106, 60, 239);
/* oklch */ color: oklch(52.8% 0.247 286.1);
Tailwind
colors: {
  custom: {
    50: '#a277f6',
    500: '#6a3cef',
    950: '#000000',
  },
}
SCSS
$custom: #6a3cef;
$custom-light: #a277f6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3cef",
  "rgb": {
    "r": 106,
    "g": 60,
    "b": 239
  },
  "hsl": {
    "h": 255.419,
    "s": 84.834,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52809,
    "c": 0.2473,
    "h": 286.1
  },
  "luminance": 0.12528
}

Semantic roles & 50–950 ramp

primary
#6A3CEF
secondary
#D5E7A0
accent
#FB2DC6
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#100917
muted
#7F7B85

Preview Lab

Preview with #6A3CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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