#6834FF#6834FF

#6834FF is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 53.3% C 0.271 H 284.1°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#6834FF
RGBrgb(104, 52, 255)
HSLhsl(255, 100%, 60%)
HSVhsv(255, 80%, 100%)
CMYKcmyk(59.2%, 79.6%, 0%, 0%)
CIE-LABlab(42.18, 69.50, -91.27)
CIE-LCHlch(42.18, 114.72, 307.29°)
OKLaboklab(53.32% 0.066 -0.2631)
OKLCHoklch(53.32% 0.271 284.1)
XYZxyz(24.9814, 12.6174, 95.7074)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6834FF #CBFF34
analogous
#3466FF #6834FF #CD34FF
triadic
#6834FF #FF6834 #34FF68
tetradic
#6834FF #FF3466 #CBFF34 #34FFCD
square
#6834FF #FF3466 #CBFF34 #34FFCD
split-complementary
#6834FF #FFCD34 #66FF34
monochromatic
#2F00B9 #3F00F6 #6834FF #9671FF #C3AEFF

Accessibility & contrast

On white

5.96
#6834FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#6834FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6834FF
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6834FF#FFFFFF#000000##FFFFFF
##6834FF1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069FF
Deuteranopia (green-blind)
#005DFB
Tritanopia (blue-blind)
#00729B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6834ff;
/* rgb */ color: rgb(104, 52, 255);
/* oklch */ color: oklch(53.3% 0.271 284.1);
Tailwind
colors: {
  custom: {
    50: '#a473ff',
    500: '#6834ff',
    950: '#000000',
  },
}
SCSS
$custom: #6834ff;
$custom-light: #a473ff;
$custom-dark: #000000;
JSON
{
  "hex": "#6834ff",
  "rgb": {
    "r": 104,
    "g": 52,
    "b": 255
  },
  "hsl": {
    "h": 255.369,
    "s": 100,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53317,
    "c": 0.27127,
    "h": 284.1
  },
  "luminance": 0.12619
}

Semantic roles & 50–950 ramp

primary
#6834FF
secondary
#DAEEA0
accent
#E600AB
background
#FBF7FF
surface
#F6EDFF
border
#D0C8D7
text
#110918
muted
#807B86

Preview Lab

Preview with #6834FF

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

Preview Lab → · Contrast checker → · Palette generator →

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