#6B2CC7#6B2CC7

#6B2CC7 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.6% C 0.219 H 295.0°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#6B2CC7
RGBrgb(107, 44, 199)
HSLhsl(264, 64%, 48%)
HSVhsv(264, 78%, 78%)
CMYKcmyk(46.2%, 77.9%, 0%, 22%)
CIE-LABlab(36.08, 58.71, -69.35)
CIE-LCHlch(36.08, 90.86, 310.25°)
OKLaboklab(47.57% 0.0927 -0.1989)
OKLCHoklch(47.57% 0.219 295)
XYZxyz(17.2701, 9.0502, 54.8587)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2CC7 #88C72C
analogous
#2C3BC7 #6B2CC7 #B82CC7
triadic
#6B2CC7 #C76B2C #2CC76B
tetradic
#6B2CC7 #C72C3B #88C72C #2CC7B8
square
#6B2CC7 #C72C3B #88C72C #2CC7B8
split-complementary
#6B2CC7 #C7B82C #3BC72C
monochromatic
#351663 #502195 #6B2CC7 #8C56DA #AE89E5

Accessibility & contrast

On white

7.47
#6B2CC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#6B2CC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2CC7
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2CC7#FFFFFF#000000##FFFFFF
##6B2CC71.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CB
Deuteranopia (green-blind)
#0052C4
Tritanopia (blue-blind)
#505779
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6b2cc7;
/* rgb */ color: rgb(107, 44, 199);
/* oklch */ color: oklch(47.6% 0.219 295.0);
Tailwind
colors: {
  custom: {
    50: '#9e6dd9',
    500: '#6b2cc7',
    950: '#000000',
  },
}
SCSS
$custom: #6b2cc7;
$custom-light: #9e6dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2cc7",
  "rgb": {
    "r": 107,
    "g": 44,
    "b": 199
  },
  "hsl": {
    "h": 264.387,
    "s": 63.786,
    "l": 47.647
  },
  "oklch": {
    "l": 0.4757,
    "c": 0.21939,
    "h": 295
  },
  "luminance": 0.09051
}

Semantic roles & 50–950 ramp

primary
#6B2CC7
secondary
#AFCF80
accent
#E741A3
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100715
muted
#7F7A83

Preview Lab

Preview with #6B2CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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