#682FAE#682FAE

#682FAE is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.4% C 0.189 H 299.1°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#682FAE
RGBrgb(104, 47, 174)
HSLhsl(267, 57%, 43%)
HSVhsv(267, 73%, 68%)
CMYKcmyk(40.2%, 73%, 0%, 31.8%)
CIE-LABlab(34.05, 50.59, -57.93)
CIE-LCHlch(34.05, 76.91, 311.13°)
OKLaboklab(45.41% 0.092 -0.1655)
OKLCHoklch(45.41% 0.189 299.1)
XYZxyz(14.3635, 8.0319, 40.8298)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682FAE #75AE2F
analogous
#2F35AE #682FAE #A72FAE
triadic
#682FAE #AE682F #2FAE68
tetradic
#682FAE #AE2F35 #75AE2F #2FAEA7
square
#682FAE #AE2F35 #75AE2F #2FAEA7
split-complementary
#682FAE #AEA72F #35AE2F
monochromatic
#2E154E #4B227E #682FAE #864CCF #A77CDC

Accessibility & contrast

On white

8.06
#682FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#682FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682FAE
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682FAE#FFFFFF#000000##FFFFFF
##682FAE1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#004FAB
Tritanopia (blue-blind)
#574F6C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #682fae;
/* rgb */ color: rgb(104, 47, 174);
/* oklch */ color: oklch(45.4% 0.189 299.1);
Tailwind
colors: {
  custom: {
    50: '#996dc7',
    500: '#682fae',
    950: '#000000',
  },
}
SCSS
$custom: #682fae;
$custom-light: #996dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#682fae",
  "rgb": {
    "r": 104,
    "g": 47,
    "b": 174
  },
  "hsl": {
    "h": 266.929,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45406,
    "c": 0.18934,
    "h": 299.1
  },
  "luminance": 0.08032
}

Semantic roles & 50–950 ramp

primary
#682FAE
secondary
#A0C475
accent
#E1479C
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #682FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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