#6C2EBE#6C2EBE

#6C2EBE is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.1% C 0.208 H 297.2°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#6C2EBE
RGBrgb(108, 46, 190)
HSLhsl(266, 61%, 46%)
HSVhsv(266, 76%, 75%)
CMYKcmyk(43.2%, 75.8%, 0%, 25.5%)
CIE-LABlab(35.71, 55.76, -64.68)
CIE-LCHlch(35.71, 85.39, 310.77°)
OKLaboklab(47.1% 0.095 -0.1851)
OKLCHoklch(47.1% 0.208 297.2)
XYZxyz(16.4532, 8.8595, 49.5484)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2EBE #80BE2E
analogous
#2E38BE #6C2EBE #B42EBE
triadic
#6C2EBE #BE6C2E #2EBE6C
tetradic
#6C2EBE #BE2E38 #80BE2E #2EBEB4
square
#6C2EBE #BE2E38 #80BE2E #2EBEB4
split-complementary
#6C2EBE #BEB42E #38BE2E
monochromatic
#34165B #50228D #6C2EBE #8C54D6 #AD85E1

Accessibility & contrast

On white

7.58
#6C2EBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#6C2EBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2EBE
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2EBE#FFFFFF#000000##FFFFFF
##6C2EBE1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C2
Deuteranopia (green-blind)
#0052BB
Tritanopia (blue-blind)
#565474
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6c2ebe;
/* rgb */ color: rgb(108, 46, 190);
/* oklch */ color: oklch(47.1% 0.208 297.2);
Tailwind
colors: {
  custom: {
    50: '#9e6dd3',
    500: '#6c2ebe',
    950: '#000000',
  },
}
SCSS
$custom: #6c2ebe;
$custom-light: #9e6dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2ebe",
  "rgb": {
    "r": 108,
    "g": 46,
    "b": 190
  },
  "hsl": {
    "h": 265.833,
    "s": 61.017,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47099,
    "c": 0.20809,
    "h": 297.2
  },
  "luminance": 0.0886
}

Semantic roles & 50–950 ramp

primary
#6C2EBE
secondary
#A9CB7D
accent
#E4449F
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6C2EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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