#682EAC#682EAC

#682EAC is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.1% C 0.188 H 299.7°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#682EAC
RGBrgb(104, 46, 172)
HSLhsl(268, 58%, 43%)
HSVhsv(268, 73%, 67%)
CMYKcmyk(39.5%, 73.3%, 0%, 32.5%)
CIE-LABlab(33.72, 50.56, -57.27)
CIE-LCHlch(33.72, 76.39, 311.44°)
OKLaboklab(45.12% 0.0934 -0.1635)
OKLCHoklch(45.12% 0.188 299.7)
XYZxyz(14.1304, 7.8755, 39.7974)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682EAC #72AC2E
analogous
#2E33AC #682EAC #A72EAC
triadic
#682EAC #AC682E #2EAC68
tetradic
#682EAC #AC2E33 #72AC2E #2EACA7
square
#682EAC #AC2E33 #72AC2E #2EACA7
split-complementary
#682EAC #ACA72E #33AC2E
monochromatic
#2E144B #4B217C #682EAC #8649CE #A679DB

Accessibility & contrast

On white

8.15
#682EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#682EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682EAC
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682EAC#FFFFFF#000000##FFFFFF
##682EAC1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#004EA9
Tritanopia (blue-blind)
#584E6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #682eac;
/* rgb */ color: rgb(104, 46, 172);
/* oklch */ color: oklch(45.1% 0.188 299.7);
Tailwind
colors: {
  custom: {
    50: '#996cc6',
    500: '#682eac',
    950: '#000000',
  },
}
SCSS
$custom: #682eac;
$custom-light: #996cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#682eac",
  "rgb": {
    "r": 104,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 267.619,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45124,
    "c": 0.18831,
    "h": 299.7
  },
  "luminance": 0.07876
}

Semantic roles & 50–950 ramp

primary
#682EAC
secondary
#9EC372
accent
#E1479A
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #682EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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