#6834C3#6834C3

#6834C3 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.8% C 0.207 H 293.6°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#6834C3
RGBrgb(104, 52, 195)
HSLhsl(262, 58%, 48%)
HSVhsv(262, 73%, 76%)
CMYKcmyk(46.7%, 73.3%, 0%, 23.5%)
CIE-LABlab(36.63, 53.67, -66.13)
CIE-LCHlch(36.63, 85.17, 309.06°)
OKLaboklab(47.77% 0.0828 -0.1896)
OKLCHoklch(47.77% 0.207 293.6)
XYZxyz(16.7845, 9.3387, 52.5374)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6834C3 #8FC334
analogous
#3447C3 #6834C3 #AF34C3
triadic
#6834C3 #C36834 #34C368
tetradic
#6834C3 #C33447 #8FC334 #34C3AF
square
#6834C3 #C33447 #8FC334 #34C3AF
split-complementary
#6834C3 #C3AF34 #47C334
monochromatic
#341A62 #4E2793 #6834C3 #8A60D5 #AE90E1

Accessibility & contrast

On white

7.32
#6834C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#6834C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6834C3
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6834C3#FFFFFF#000000##FFFFFF
##6834C31.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C7
Deuteranopia (green-blind)
#0054C0
Tritanopia (blue-blind)
#4D5A79
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6834c3;
/* rgb */ color: rgb(104, 52, 195);
/* oklch */ color: oklch(47.8% 0.207 293.6);
Tailwind
colors: {
  custom: {
    50: '#9b70d6',
    500: '#6834c3',
    950: '#000000',
  },
}
SCSS
$custom: #6834c3;
$custom-light: #9b70d6;
$custom-dark: #000000;
JSON
{
  "hex": "#6834c3",
  "rgb": {
    "r": 104,
    "g": 52,
    "b": 195
  },
  "hsl": {
    "h": 261.818,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47769,
    "c": 0.20688,
    "h": 293.6
  },
  "luminance": 0.09339
}

Semantic roles & 50–950 ramp

primary
#6834C3
secondary
#B3CC87
accent
#E147A9
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6834C3

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

Preview Lab → · Contrast checker → · Palette generator →

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