#6834C1#6834C1

#6834C1 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.6% C 0.205 H 294.0°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#6834C1
RGBrgb(104, 52, 193)
HSLhsl(262, 58%, 48%)
HSVhsv(262, 73%, 76%)
CMYKcmyk(46.1%, 73.1%, 0%, 24.3%)
CIE-LABlab(36.46, 53.14, -65.23)
CIE-LCHlch(36.46, 84.14, 309.17°)
OKLaboklab(47.6% 0.0833 -0.1869)
OKLCHoklch(47.6% 0.205 294)
XYZxyz(16.5599, 9.2488, 51.3544)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6834C1 #8DC134
analogous
#3446C1 #6834C1 #AE34C1
triadic
#6834C1 #C16834 #34C168
tetradic
#6834C1 #C13446 #8DC134 #34C1AE
square
#6834C1 #C13446 #8DC134 #34C1AE
split-complementary
#6834C1 #C1AE34 #46C134
monochromatic
#341A61 #4E2791 #6834C1 #8A5ED4 #AD8FE1

Accessibility & contrast

On white

7.37
#6834C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6834C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6834C1
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6834C1#FFFFFF#000000##FFFFFF
##6834C11.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C5
Deuteranopia (green-blind)
#0053BE
Tritanopia (blue-blind)
#4E5978
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6834c1;
/* rgb */ color: rgb(104, 52, 193);
/* oklch */ color: oklch(47.6% 0.205 294.0);
Tailwind
colors: {
  custom: {
    50: '#9b70d5',
    500: '#6834c1',
    950: '#000000',
  },
}
SCSS
$custom: #6834c1;
$custom-light: #9b70d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6834c1",
  "rgb": {
    "r": 104,
    "g": 52,
    "b": 193
  },
  "hsl": {
    "h": 262.128,
    "s": 57.551,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47597,
    "c": 0.20466,
    "h": 294
  },
  "luminance": 0.09249
}

Semantic roles & 50–950 ramp

primary
#6834C1
secondary
#B2CB86
accent
#E147A8
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6834C1

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

Preview Lab → · Contrast checker → · Palette generator →

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