#6830D7#6830D7

#6830D7 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.1% C 0.232 H 290.3°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#6830D7
RGBrgb(104, 48, 215)
HSLhsl(260, 68%, 52%)
HSVhsv(260, 78%, 84%)
CMYKcmyk(51.6%, 77.7%, 0%, 15.7%)
CIE-LABlab(37.77, 60.71, -75.86)
CIE-LCHlch(37.77, 97.16, 308.67°)
OKLaboklab(49.11% 0.0806 -0.218)
OKLCHoklch(49.11% 0.232 290.3)
XYZxyz(19.0281, 9.9624, 65.1971)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6830D7 #9FD730
analogous
#304CD7 #6830D7 #BC30D7
triadic
#6830D7 #D76830 #30D768
tetradic
#6830D7 #D7304C #9FD730 #30D7BC
square
#6830D7 #D7304C #9FD730 #30D7BC
split-complementary
#6830D7 #D7BC30 #4CD730
monochromatic
#371776 #4E21A9 #6830D7 #8D63E1 #B397EB

Accessibility & contrast

On white

7.02
#6830D7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#6830D7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6830D7
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6830D7#FFFFFF#000000##FFFFFF
##6830D71.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CDC
Deuteranopia (green-blind)
#0055D4
Tritanopia (blue-blind)
#3F6083
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6830d7;
/* rgb */ color: rgb(104, 48, 215);
/* oklch */ color: oklch(49.1% 0.232 290.3);
Tailwind
colors: {
  custom: {
    50: '#9e6fe5',
    500: '#6830d7',
    950: '#000000',
  },
}
SCSS
$custom: #6830d7;
$custom-light: #9e6fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#6830d7",
  "rgb": {
    "r": 104,
    "g": 48,
    "b": 215
  },
  "hsl": {
    "h": 260.12,
    "s": 67.611,
    "l": 51.569
  },
  "oklch": {
    "l": 0.49114,
    "c": 0.23248,
    "h": 290.3
  },
  "luminance": 0.09963
}

Semantic roles & 50–950 ramp

primary
#6830D7
secondary
#BDD68D
accent
#EA3DB0
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#100816
muted
#7F7B84

Preview Lab

Preview with #6830D7

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

Preview Lab → · Contrast checker → · Palette generator →

#6830D7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva