#6D4FEA#6D4FEA

#6D4FEA is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.1% C 0.221 H 285.4°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#6D4FEA
RGBrgb(109, 79, 234)
HSLhsl(252, 79%, 61%)
HSVhsv(252, 66%, 92%)
CMYKcmyk(53.4%, 66.2%, 0%, 8.2%)
CIE-LABlab(45.33, 51.43, -74.28)
CIE-LCHlch(45.33, 90.35, 304.70°)
OKLaboklab(55.08% 0.0589 -0.2134)
OKLCHoklch(55.08% 0.221 285.4)
XYZxyz(23.9495, 14.7824, 79.4173)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4FEA #CCEA4F
analogous
#4F7FEA #6D4FEA #BB4FEA
triadic
#6D4FEA #EA6D4F #4FEA6D
tetradic
#6D4FEA #EA4F7F #CCEA4F #4FEABB
square
#6D4FEA #EA4F7F #CCEA4F #4FEABB
split-complementary
#6D4FEA #EABB4F #7FEA4F
monochromatic
#3114AA #411BE1 #6D4FEA #9A86F1 #C8BCF7

Accessibility & contrast

On white

5.31
#6D4FEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#6D4FEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D4FEA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4FEA#FFFFFF#000000##FFFFFF
##6D4FEA1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EF
Deuteranopia (green-blind)
#0067E7
Tritanopia (blue-blind)
#387696
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6d4fea;
/* rgb */ color: rgb(109, 79, 234);
/* oklch */ color: oklch(55.1% 0.221 285.4);
Tailwind
colors: {
  custom: {
    50: '#a282f2',
    500: '#6d4fea',
    950: '#000000',
  },
}
SCSS
$custom: #6d4fea;
$custom-light: #a282f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4fea",
  "rgb": {
    "r": 109,
    "g": 79,
    "b": 234
  },
  "hsl": {
    "h": 251.613,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.55085,
    "c": 0.22141,
    "h": 285.4
  },
  "luminance": 0.14784
}

Semantic roles & 50–950 ramp

primary
#6D4FEA
secondary
#DCE7AD
accent
#DB0BB3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6D4FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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