#6835BE#6835BE

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

Color values

HEX#6835BE
RGBrgb(104, 53, 190)
HSLhsl(262, 56%, 48%)
HSVhsv(262, 72%, 75%)
CMYKcmyk(45.3%, 72.1%, 0%, 25.5%)
CIE-LABlab(36.38, 51.87, -63.60)
CIE-LCHlch(36.38, 82.08, 309.20°)
OKLaboklab(47.46% 0.083 -0.1822)
OKLCHoklch(47.46% 0.2 294.5)
XYZxyz(16.2738, 9.2065, 49.6248)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6835BE #8BBE35
analogous
#3546BE #6835BE #AD35BE
triadic
#6835BE #BE6835 #35BE68
tetradic
#6835BE #BE3546 #8BBE35 #35BEAD
square
#6835BE #BE3546 #8BBE35 #35BEAD
split-complementary
#6835BE #BEAD35 #46BE35
monochromatic
#341A5E #4E288E #6835BE #895ED2 #AC8EDF

Accessibility & contrast

On white

7.39
#6835BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#6835BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6835BE
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6835BE#FFFFFF#000000##FFFFFF
##6835BE1.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)
#0057C2
Deuteranopia (green-blind)
#0053BB
Tritanopia (blue-blind)
#4F5876
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6835be;
/* rgb */ color: rgb(104, 53, 190);
/* oklch */ color: oklch(47.5% 0.200 294.5);
Tailwind
colors: {
  custom: {
    50: '#9b71d3',
    500: '#6835be',
    950: '#000000',
  },
}
SCSS
$custom: #6835be;
$custom-light: #9b71d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6835be",
  "rgb": {
    "r": 104,
    "g": 53,
    "b": 190
  },
  "hsl": {
    "h": 262.336,
    "s": 56.379,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47463,
    "c": 0.2002,
    "h": 294.5
  },
  "luminance": 0.09207
}

Semantic roles & 50–950 ramp

primary
#6835BE
secondary
#B0CA85
accent
#E048A7
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6835BE

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

Preview Lab → · Contrast checker → · Palette generator →

#6835BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva