#6D3DE7#6D3DE7

#6D3DE7 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.5% C 0.237 H 288.2°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#6D3DE7
RGBrgb(109, 61, 231)
HSLhsl(257, 78%, 57%)
HSVhsv(257, 74%, 91%)
CMYKcmyk(52.8%, 73.6%, 0%, 9.4%)
CIE-LABlab(41.78, 59.78, -78.41)
CIE-LCHlch(41.78, 98.60, 307.32°)
OKLaboklab(52.48% 0.0742 -0.2255)
OKLCHoklch(52.48% 0.237 288.2)
XYZxyz(22.3950, 12.3571, 76.7909)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3DE7 #B7E73D
analogous
#3D62E7 #6D3DE7 #C23DE7
triadic
#6D3DE7 #E76D3D #3DE76D
tetradic
#6D3DE7 #E73D62 #B7E73D #3DE7C2
square
#6D3DE7 #E73D62 #B7E73D #3DE7C2
split-complementary
#6D3DE7 #E7C23D #62E73D
monochromatic
#381397 #4C19CD #6D3DE7 #9673EE #BFAAF4

Accessibility & contrast

On white

6.05
#6D3DE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#6D3DE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D3DE7
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3DE7#FFFFFF#000000##FFFFFF
##6D3DE71.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066EC
Deuteranopia (green-blind)
#005EE4
Tritanopia (blue-blind)
#3C6C8F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6d3de7;
/* rgb */ color: rgb(109, 61, 231);
/* oklch */ color: oklch(52.5% 0.237 288.2);
Tailwind
colors: {
  custom: {
    50: '#a277f0',
    500: '#6d3de7',
    950: '#000000',
  },
}
SCSS
$custom: #6d3de7;
$custom-light: #a277f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3de7",
  "rgb": {
    "r": 109,
    "g": 61,
    "b": 231
  },
  "hsl": {
    "h": 256.941,
    "s": 77.982,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52476,
    "c": 0.23737,
    "h": 288.2
  },
  "luminance": 0.12358
}

Semantic roles & 50–950 ramp

primary
#6D3DE7
secondary
#CFE29D
accent
#F433BE
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100917
muted
#7F7B85

Preview Lab

Preview with #6D3DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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