#6858AE#6858AE

#6858AE is a mid, vivid violet. Relative luminance 0.130; OKLCH L 51.7% C 0.132 H 289.5°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#6858AE
RGBrgb(104, 88, 174)
HSLhsl(251, 35%, 51%)
HSVhsv(251, 49%, 68%)
CMYKcmyk(40.2%, 49.4%, 0%, 31.8%)
CIE-LABlab(42.73, 27.66, -43.93)
CIE-LCHlch(42.73, 51.91, 302.20°)
OKLaboklab(51.75% 0.0441 -0.1244)
OKLCHoklch(51.75% 0.132 289.5)
XYZxyz(16.8365, 12.9780, 41.6541)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6858AE #9EAE58
analogous
#5873AE #6858AE #9358AE
triadic
#6858AE #AE6858 #58AE68
tetradic
#6858AE #AE5873 #9EAE58 #58AE93
square
#6858AE #AE5873 #9EAE58 #58AE93
split-complementary
#6858AE #AE9358 #73AE58
monochromatic
#372E5E #4F4287 #6858AE #8D81C2 #B3AAD6

Accessibility & contrast

On white

5.84
#6858AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#6858AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6858AE
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6858AE#FFFFFF#000000##FFFFFF
##6858AE1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3667B1
Deuteranopia (green-blind)
#3763AC
Tritanopia (blue-blind)
#55697B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6858ae;
/* rgb */ color: rgb(104, 88, 174);
/* oklch */ color: oklch(51.7% 0.132 289.5);
Tailwind
colors: {
  custom: {
    50: '#9787c7',
    500: '#6858ae',
    950: '#000000',
  },
}
SCSS
$custom: #6858ae;
$custom-light: #9787c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6858ae",
  "rgb": {
    "r": 104,
    "g": 88,
    "b": 174
  },
  "hsl": {
    "h": 251.163,
    "s": 34.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51747,
    "c": 0.13195,
    "h": 289.5
  },
  "luminance": 0.12978
}

Semantic roles & 50–950 ramp

primary
#6858AE
secondary
#BDC49E
accent
#CB5DB6
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #6858AE

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

Preview Lab → · Contrast checker → · Palette generator →

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