#6825A7#6825A7

#6825A7 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.7% C 0.193 H 302.2°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#6825A7
RGBrgb(104, 37, 167)
HSLhsl(271, 64%, 40%)
HSVhsv(271, 78%, 65%)
CMYKcmyk(37.7%, 77.8%, 0%, 34.5%)
CIE-LABlab(31.93, 53.25, -57.18)
CIE-LCHlch(31.93, 78.14, 312.96°)
OKLaboklab(43.74% 0.1027 -0.1632)
OKLCHoklch(43.74% 0.193 302.2)
XYZxyz(13.3439, 7.0562, 37.2107)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6825A7 #64A725
analogous
#2725A7 #6825A7 #A725A5
triadic
#6825A7 #A76825 #25A768
tetradic
#6825A7 #A72725 #64A725 #25A5A7
square
#6825A7 #A72725 #64A725 #25A5A7
split-complementary
#6825A7 #A5A725 #25A727
monochromatic
#2A0F43 #491A75 #6825A7 #8737D3 #A569DE

Accessibility & contrast

On white

8.71
#6825A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6825A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6825A7
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6825A7#FFFFFF#000000##FFFFFF
##6825A71.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAB
Deuteranopia (green-blind)
#004BA4
Tritanopia (blue-blind)
#5A4765
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6825a7;
/* rgb */ color: rgb(104, 37, 167);
/* oklch */ color: oklch(43.7% 0.193 302.2);
Tailwind
colors: {
  custom: {
    50: '#9967c2',
    500: '#6825a7',
    950: '#000000',
  },
}
SCSS
$custom: #6825a7;
$custom-light: #9967c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6825a7",
  "rgb": {
    "r": 104,
    "g": 37,
    "b": 167
  },
  "hsl": {
    "h": 270.923,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.43738,
    "c": 0.19285,
    "h": 302.2
  },
  "luminance": 0.07056
}

Semantic roles & 50–950 ramp

primary
#6825A7
secondary
#92C464
accent
#E74191
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6825A7

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

Preview Lab → · Contrast checker → · Palette generator →

#6825A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva