#6A3FE2#6A3FE2

#6A3FE2 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.0% C 0.230 H 287.6°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#6A3FE2
RGBrgb(106, 63, 226)
HSLhsl(256, 74%, 57%)
HSVhsv(256, 72%, 89%)
CMYKcmyk(53.1%, 72.1%, 0%, 11.4%)
CIE-LABlab(41.39, 57.02, -76.21)
CIE-LCHlch(41.39, 95.19, 306.80°)
OKLaboklab(52% 0.0696 -0.2191)
OKLCHoklch(52% 0.23 287.6)
XYZxyz(21.4448, 12.1091, 73.1441)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3FE2 #B7E23F
analogous
#3F66E2 #6A3FE2 #BC3FE2
triadic
#6A3FE2 #E26A3F #3FE26A
tetradic
#6A3FE2 #E23F66 #B7E23F #3FE2BC
square
#6A3FE2 #E23F66 #B7E23F #3FE2BC
split-complementary
#6A3FE2 #E2BC3F #66E23F
monochromatic
#361691 #4A1EC6 #6A3FE2 #9374EA #BDA9F2

Accessibility & contrast

On white

6.14
#6A3FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#6A3FE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3FE2
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3FE2#FFFFFF#000000##FFFFFF
##6A3FE21.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E7
Deuteranopia (green-blind)
#005DDF
Tritanopia (blue-blind)
#396B8D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6a3fe2;
/* rgb */ color: rgb(106, 63, 226);
/* oklch */ color: oklch(52.0% 0.230 287.6);
Tailwind
colors: {
  custom: {
    50: '#a078ec',
    500: '#6a3fe2',
    950: '#000000',
  },
}
SCSS
$custom: #6a3fe2;
$custom-light: #a078ec;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3fe2",
  "rgb": {
    "r": 106,
    "g": 63,
    "b": 226
  },
  "hsl": {
    "h": 255.828,
    "s": 73.756,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51998,
    "c": 0.22993,
    "h": 287.6
  },
  "luminance": 0.1211
}

Semantic roles & 50–950 ramp

primary
#6A3FE2
secondary
#CEE09D
accent
#F037C0
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6A3FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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