#6834C0#6834C0

#6834C0 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.5% C 0.204 H 294.2°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#6834C0
RGBrgb(104, 52, 192)
HSLhsl(262, 57%, 48%)
HSVhsv(262, 73%, 75%)
CMYKcmyk(45.8%, 72.9%, 0%, 24.7%)
CIE-LABlab(36.37, 52.88, -64.79)
CIE-LCHlch(36.37, 83.63, 309.22°)
OKLaboklab(47.51% 0.0835 -0.1856)
OKLCHoklch(47.51% 0.204 294.2)
XYZxyz(16.4487, 9.2043, 50.7689)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6834C0 #8CC034
analogous
#3446C0 #6834C0 #AE34C0
triadic
#6834C0 #C06834 #34C068
tetradic
#6834C0 #C03446 #8CC034 #34C0AE
square
#6834C0 #C03446 #8CC034 #34C0AE
split-complementary
#6834C0 #C0AE34 #46C034
monochromatic
#341A60 #4E2790 #6834C0 #895ED3 #AD8EE0

Accessibility & contrast

On white

7.39
#6834C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#6834C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6834C0
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6834C0#FFFFFF#000000##FFFFFF
##6834C01.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C4
Deuteranopia (green-blind)
#0053BD
Tritanopia (blue-blind)
#4E5977
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6834c0;
/* rgb */ color: rgb(104, 52, 192);
/* oklch */ color: oklch(47.5% 0.204 294.2);
Tailwind
colors: {
  custom: {
    50: '#9b70d4',
    500: '#6834c0',
    950: '#000000',
  },
}
SCSS
$custom: #6834c0;
$custom-light: #9b70d4;
$custom-dark: #000000;
JSON
{
  "hex": "#6834c0",
  "rgb": {
    "r": 104,
    "g": 52,
    "b": 192
  },
  "hsl": {
    "h": 262.286,
    "s": 57.377,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47511,
    "c": 0.20355,
    "h": 294.2
  },
  "luminance": 0.09205
}

Semantic roles & 50–950 ramp

primary
#6834C0
secondary
#B1CB85
accent
#E147A8
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6834C0

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

Preview Lab → · Contrast checker → · Palette generator →

#6834C0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva