#6B3ECE#6B3ECE

#6B3ECE is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.3% C 0.208 H 291.4°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#6B3ECE
RGBrgb(107, 62, 206)
HSLhsl(259, 60%, 53%)
HSVhsv(259, 70%, 81%)
CMYKcmyk(48.1%, 69.9%, 0%, 19.2%)
CIE-LABlab(39.63, 52.20, -67.62)
CIE-LCHlch(39.63, 85.42, 307.67°)
OKLaboklab(50.25% 0.0759 -0.1939)
OKLCHoklch(50.25% 0.208 291.4)
XYZxyz(18.9235, 11.0266, 59.5118)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3ECE #A1CE3E
analogous
#3E59CE #6B3ECE #B33ECE
triadic
#6B3ECE #CE6B3E #3ECE6B
tetradic
#6B3ECE #CE3E59 #A1CE3E #3ECEB3
square
#6B3ECE #CE3E59 #A1CE3E #3ECEB3
split-complementary
#6B3ECE #CEB33E #59CE3E
monochromatic
#391D74 #502AA5 #6B3ECE #906FDA #B6A0E7

Accessibility & contrast

On white

6.55
#6B3ECE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#6B3ECE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B3ECE
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3ECE#FFFFFF#000000##FFFFFF
##6B3ECE1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D2
Deuteranopia (green-blind)
#005ACB
Tritanopia (blue-blind)
#4B6382
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6b3ece;
/* rgb */ color: rgb(107, 62, 206);
/* oklch */ color: oklch(50.3% 0.208 291.4);
Tailwind
colors: {
  custom: {
    50: '#9e77de',
    500: '#6b3ece',
    950: '#000000',
  },
}
SCSS
$custom: #6b3ece;
$custom-light: #9e77de;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3ece",
  "rgb": {
    "r": 107,
    "g": 62,
    "b": 206
  },
  "hsl": {
    "h": 258.75,
    "s": 59.504,
    "l": 52.549
  },
  "oklch": {
    "l": 0.50251,
    "c": 0.20822,
    "h": 291.4
  },
  "luminance": 0.11027
}

Semantic roles & 50–950 ramp

primary
#6B3ECE
secondary
#C0D395
accent
#E345B1
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6B3ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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