#682CB3#682CB3

#682CB3 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.5% C 0.198 H 298.2°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#682CB3
RGBrgb(104, 44, 179)
HSLhsl(267, 61%, 44%)
HSVhsv(267, 75%, 70%)
CMYKcmyk(41.9%, 75.4%, 0%, 29.8%)
CIE-LABlab(33.98, 53.22, -61.02)
CIE-LCHlch(33.98, 80.97, 311.09°)
OKLaboklab(45.49% 0.0936 -0.1745)
OKLCHoklch(45.49% 0.198 298.2)
XYZxyz(14.7442, 7.9989, 43.4062)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682CB3 #77B32C
analogous
#2C33B3 #682CB3 #AB2CB3
triadic
#682CB3 #B3682C #2CB368
tetradic
#682CB3 #B32C33 #77B32C #2CB3AB
square
#682CB3 #B32C33 #77B32C #2CB3AB
split-complementary
#682CB3 #B3AB2C #33B32C
monochromatic
#2F1451 #4B2082 #682CB3 #874AD2 #A77BDF

Accessibility & contrast

On white

8.08
#682CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#682CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682CB3
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682CB3#FFFFFF#000000##FFFFFF
##682CB31.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#554F6E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #682cb3;
/* rgb */ color: rgb(104, 44, 179);
/* oklch */ color: oklch(45.5% 0.198 298.2);
Tailwind
colors: {
  custom: {
    50: '#9a6bcb',
    500: '#682cb3',
    950: '#000000',
  },
}
SCSS
$custom: #682cb3;
$custom-light: #9a6bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#682cb3",
  "rgb": {
    "r": 104,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 266.667,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45486,
    "c": 0.19806,
    "h": 298.2
  },
  "luminance": 0.07999
}

Semantic roles & 50–950 ramp

primary
#682CB3
secondary
#A2C774
accent
#E4449D
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #682CB3

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

Preview Lab → · Contrast checker → · Palette generator →

#682CB3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva