#6830B5#6830B5

#6830B5 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.1% C 0.196 H 297.2°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#6830B5
RGBrgb(104, 48, 181)
HSLhsl(265, 58%, 45%)
HSVhsv(265, 73%, 71%)
CMYKcmyk(42.5%, 73.5%, 0%, 29%)
CIE-LABlab(34.79, 51.91, -60.89)
CIE-LCHlch(34.79, 80.02, 310.45°)
OKLaboklab(46.11% 0.0896 -0.1742)
OKLCHoklch(46.11% 0.196 297.2)
XYZxyz(15.1042, 8.3929, 44.5313)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6830B5 #7DB530
analogous
#303BB5 #6830B5 #AB30B5
triadic
#6830B5 #B56830 #30B568
tetradic
#6830B5 #B5303B #7DB530 #30B5AB
square
#6830B5 #B5303B #7DB530 #30B5AB
split-complementary
#6830B5 #B5AB30 #3BB530
monochromatic
#301654 #4C2385 #6830B5 #8751D1 #A882DE

Accessibility & contrast

On white

7.84
#6830B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#6830B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6830B5
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6830B5#FFFFFF#000000##FFFFFF
##6830B51.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#0050B2
Tritanopia (blue-blind)
#545270
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6830b5;
/* rgb */ color: rgb(104, 48, 181);
/* oklch */ color: oklch(46.1% 0.196 297.2);
Tailwind
colors: {
  custom: {
    50: '#9a6ecc',
    500: '#6830b5',
    950: '#000000',
  },
}
SCSS
$custom: #6830b5;
$custom-light: #9a6ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#6830b5",
  "rgb": {
    "r": 104,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 265.263,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46106,
    "c": 0.19585,
    "h": 297.2
  },
  "luminance": 0.08393
}

Semantic roles & 50–950 ramp

primary
#6830B5
secondary
#A6C77A
accent
#E146A0
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6830B5

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

Preview Lab → · Contrast checker → · Palette generator →

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