#6835A8#6835A8

#6835A8 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.7% C 0.175 H 299.7°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#6835A8
RGBrgb(104, 53, 168)
HSLhsl(267, 52%, 43%)
HSVhsv(267, 68%, 66%)
CMYKcmyk(38.1%, 68.5%, 0%, 34.1%)
CIE-LABlab(34.63, 46.11, -53.39)
CIE-LCHlch(34.63, 70.55, 310.82°)
OKLaboklab(45.68% 0.087 -0.1522)
OKLCHoklch(45.68% 0.175 299.7)
XYZxyz(14.0482, 8.3163, 37.9033)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6835A8 #75A835
analogous
#353BA8 #6835A8 #A135A8
triadic
#6835A8 #A86835 #35A868
tetradic
#6835A8 #A8353B #75A835 #35A8A1
square
#6835A8 #A8353B #75A835 #35A8A1
split-complementary
#6835A8 #A8A135 #3BA835
monochromatic
#2E184B #4B2679 #6835A8 #8652C8 #A780D7

Accessibility & contrast

On white

7.89
#6835A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6835A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6835A8
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6835A8#FFFFFF#000000##FFFFFF
##6835A81.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AB
Deuteranopia (green-blind)
#0051A6
Tritanopia (blue-blind)
#5A506A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6835a8;
/* rgb */ color: rgb(104, 53, 168);
/* oklch */ color: oklch(45.7% 0.175 299.7);
Tailwind
colors: {
  custom: {
    50: '#9870c3',
    500: '#6835a8',
    950: '#000000',
  },
}
SCSS
$custom: #6835a8;
$custom-light: #9870c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6835a8",
  "rgb": {
    "r": 104,
    "g": 53,
    "b": 168
  },
  "hsl": {
    "h": 266.609,
    "s": 52.036,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45675,
    "c": 0.17525,
    "h": 299.7
  },
  "luminance": 0.08316
}

Semantic roles & 50–950 ramp

primary
#6835A8
secondary
#A0C078
accent
#DB4C9C
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6835A8

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

Preview Lab → · Contrast checker → · Palette generator →

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