#6830AE#6830AE

#6830AE is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.5% C 0.188 H 298.9°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#6830AE
RGBrgb(104, 48, 174)
HSLhsl(267, 57%, 44%)
HSVhsv(267, 72%, 68%)
CMYKcmyk(40.2%, 72.4%, 0%, 31.8%)
CIE-LABlab(34.22, 50.12, -57.66)
CIE-LCHlch(34.22, 76.40, 311.00°)
OKLaboklab(45.52% 0.0911 -0.1647)
OKLCHoklch(45.52% 0.188 298.9)
XYZxyz(14.4039, 8.1128, 40.8432)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6830AE #76AE30
analogous
#3037AE #6830AE #A730AE
triadic
#6830AE #AE6830 #30AE68
tetradic
#6830AE #AE3037 #76AE30 #30AEA7
square
#6830AE #AE3037 #76AE30 #30AEA7
split-complementary
#6830AE #AEA730 #37AE30
monochromatic
#2F164E #4B237E #6830AE #864DCE #A77DDB

Accessibility & contrast

On white

8.01
#6830AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6830AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6830AE
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6830AE#FFFFFF#000000##FFFFFF
##6830AE1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#004FAB
Tritanopia (blue-blind)
#574F6C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6830ae;
/* rgb */ color: rgb(104, 48, 174);
/* oklch */ color: oklch(45.5% 0.188 298.9);
Tailwind
colors: {
  custom: {
    50: '#996dc7',
    500: '#6830ae',
    950: '#000000',
  },
}
SCSS
$custom: #6830ae;
$custom-light: #996dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#6830ae",
  "rgb": {
    "r": 104,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 266.667,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45524,
    "c": 0.18818,
    "h": 298.9
  },
  "luminance": 0.08113
}

Semantic roles & 50–950 ramp

primary
#6830AE
secondary
#A1C476
accent
#E0489C
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6830AE

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

Preview Lab → · Contrast checker → · Palette generator →

#6830AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva