#6727C4#6727C4

#6727C4 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.4% C 0.221 H 294.4°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#6727C4
RGBrgb(103, 39, 196)
HSLhsl(264, 67%, 46%)
HSVhsv(264, 80%, 77%)
CMYKcmyk(47.4%, 80.1%, 0%, 23.1%)
CIE-LABlab(34.64, 59.40, -69.98)
CIE-LCHlch(34.64, 91.79, 310.33°)
OKLaboklab(46.38% 0.0912 -0.2008)
OKLCHoklch(46.38% 0.221 294.4)
XYZxyz(16.2801, 8.3196, 52.9619)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6727C4 #84C427
analogous
#2735C4 #6727C4 #B527C4
triadic
#6727C4 #C46727 #27C467
tetradic
#6727C4 #C42735 #84C427 #27C4B5
square
#6727C4 #C42735 #84C427 #27C4B5
split-complementary
#6727C4 #C4B527 #35C427
monochromatic
#31135E #4C1D91 #6727C4 #874DDC #A980E6

Accessibility & contrast

On white

7.88
#6727C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6727C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6727C4
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6727C4#FFFFFF#000000##FFFFFF
##6727C41.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C8
Deuteranopia (green-blind)
#004FC1
Tritanopia (blue-blind)
#4B5476
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6727c4;
/* rgb */ color: rgb(103, 39, 196);
/* oklch */ color: oklch(46.4% 0.221 294.4);
Tailwind
colors: {
  custom: {
    50: '#9c6ad7',
    500: '#6727c4',
    950: '#000000',
  },
}
SCSS
$custom: #6727c4;
$custom-light: #9c6ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#6727c4",
  "rgb": {
    "r": 103,
    "g": 39,
    "b": 196
  },
  "hsl": {
    "h": 264.459,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46379,
    "c": 0.22053,
    "h": 294.4
  },
  "luminance": 0.0832
}

Semantic roles & 50–950 ramp

primary
#6727C4
secondary
#ABCE79
accent
#EA3EA4
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#0F0715
muted
#7F7A83

Preview Lab

Preview with #6727C4

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

Preview Lab → · Contrast checker → · Palette generator →

#6727C4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva