#6B27BD#6B27BD

#6B27BD is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.2% C 0.214 H 297.7°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#6B27BD
RGBrgb(107, 39, 189)
HSLhsl(267, 66%, 45%)
HSVhsv(267, 79%, 74%)
CMYKcmyk(43.4%, 79.4%, 0%, 25.9%)
CIE-LABlab(34.50, 58.24, -66.08)
CIE-LCHlch(34.50, 88.08, 311.39°)
OKLaboklab(46.2% 0.0994 -0.1892)
OKLCHoklch(46.2% 0.214 297.7)
XYZxyz(15.9718, 8.2507, 48.8853)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B27BD #79BD27
analogous
#272EBD #6B27BD #B627BD
triadic
#6B27BD #BD6B27 #27BD6B
tetradic
#6B27BD #BD272E #79BD27 #27BDB6
square
#6B27BD #BD272E #79BD27 #27BDB6
split-complementary
#6B27BD #BDB627 #2EBD27
monochromatic
#321258 #4E1D8A #6B27BD #8A48D9 #AA7BE4

Accessibility & contrast

On white

7.92
#6B27BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6B27BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B27BD
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B27BD#FFFFFF#000000##FFFFFF
##6B27BD1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C1
Deuteranopia (green-blind)
#004FBA
Tritanopia (blue-blind)
#565172
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6b27bd;
/* rgb */ color: rgb(107, 39, 189);
/* oklch */ color: oklch(46.2% 0.214 297.7);
Tailwind
colors: {
  custom: {
    50: '#9d6ad2',
    500: '#6b27bd',
    950: '#000000',
  },
}
SCSS
$custom: #6b27bd;
$custom-light: #9d6ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b27bd",
  "rgb": {
    "r": 107,
    "g": 39,
    "b": 189
  },
  "hsl": {
    "h": 267.2,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46197,
    "c": 0.21373,
    "h": 297.7
  },
  "luminance": 0.08251
}

Semantic roles & 50–950 ramp

primary
#6B27BD
secondary
#A4CC74
accent
#E93F9C
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6B27BD

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

Preview Lab → · Contrast checker → · Palette generator →

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