#6830B3#6830B3

#6830B3 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.9% C 0.194 H 297.7°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#6830B3
RGBrgb(104, 48, 179)
HSLhsl(266, 58%, 45%)
HSVhsv(266, 73%, 70%)
CMYKcmyk(41.9%, 73.2%, 0%, 29.8%)
CIE-LABlab(34.62, 51.40, -59.97)
CIE-LCHlch(34.62, 78.98, 310.60°)
OKLaboklab(45.94% 0.09 -0.1715)
OKLCHoklch(45.94% 0.194 297.7)
XYZxyz(14.9004, 8.3114, 43.4583)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6830B3 #7BB330
analogous
#303AB3 #6830B3 #AA30B3
triadic
#6830B3 #B36830 #30B368
tetradic
#6830B3 #B3303A #7BB330 #30B3AA
square
#6830B3 #B3303A #7BB330 #30B3AA
split-complementary
#6830B3 #B3AA30 #3AB330
monochromatic
#301652 #4C2383 #6830B3 #8750D0 #A880DD

Accessibility & contrast

On white

7.89
#6830B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6830B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6830B3
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6830B3#FFFFFF#000000##FFFFFF
##6830B31.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)
#0052B7
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#55516F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6830b3;
/* rgb */ color: rgb(104, 48, 179);
/* oklch */ color: oklch(45.9% 0.194 297.7);
Tailwind
colors: {
  custom: {
    50: '#9a6ecb',
    500: '#6830b3',
    950: '#000000',
  },
}
SCSS
$custom: #6830b3;
$custom-light: #9a6ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#6830b3",
  "rgb": {
    "r": 104,
    "g": 48,
    "b": 179
  },
  "hsl": {
    "h": 265.649,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45939,
    "c": 0.19367,
    "h": 297.7
  },
  "luminance": 0.08312
}

Semantic roles & 50–950 ramp

primary
#6830B3
secondary
#A5C679
accent
#E1479F
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6830B3

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

Preview Lab → · Contrast checker → · Palette generator →

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