#6A3EFC#6A3EFC

#6A3EFC is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 54.2% C 0.260 H 284.3°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#6A3EFC
RGBrgb(106, 62, 252)
HSLhsl(254, 97%, 62%)
HSVhsv(254, 75%, 99%)
CMYKcmyk(57.9%, 75.4%, 0%, 1.2%)
CIE-LABlab(43.56, 64.62, -87.31)
CIE-LCHlch(43.56, 108.63, 306.51°)
OKLaboklab(54.23% 0.064 -0.2516)
OKLCHoklch(54.23% 0.26 284.3)
XYZxyz(25.2318, 13.5361, 93.3597)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3EFC #D0FC3E
analogous
#3E71FC #6A3EFC #C93EFC
triadic
#6A3EFC #FC6A3E #3EFC6A
tetradic
#6A3EFC #FC3E71 #D0FC3E #3EFCC9
square
#6A3EFC #FC3E71 #D0FC3E #3EFCC9
split-complementary
#6A3EFC #FCC93E #71FC3E
monochromatic
#2E03BD #3D04F9 #6A3EFC #997AFD #C7B7FE

Accessibility & contrast

On white

5.66
#6A3EFC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#6A3EFC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3EFC
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3EFC#FFFFFF#000000##FFFFFF
##6A3EFC1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CFF
Deuteranopia (green-blind)
#0061F9
Tritanopia (blue-blind)
#0B759B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6a3efc;
/* rgb */ color: rgb(106, 62, 252);
/* oklch */ color: oklch(54.2% 0.260 284.3);
Tailwind
colors: {
  custom: {
    50: '#a479ff',
    500: '#6a3efc',
    950: '#000000',
  },
}
SCSS
$custom: #6a3efc;
$custom-light: #a479ff;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3efc",
  "rgb": {
    "r": 106,
    "g": 62,
    "b": 252
  },
  "hsl": {
    "h": 253.895,
    "s": 96.939,
    "l": 61.569
  },
  "oklch": {
    "l": 0.54234,
    "c": 0.25963,
    "h": 284.3
  },
  "luminance": 0.13538
}

Semantic roles & 50–950 ramp

primary
#6A3EFC
secondary
#DEEEA8
accent
#E600B0
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#110918
muted
#807B86

Preview Lab

Preview with #6A3EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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