#682EAF#682EAF

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

Color values

HEX#682EAF
RGBrgb(104, 46, 175)
HSLhsl(267, 58%, 43%)
HSVhsv(267, 74%, 69%)
CMYKcmyk(40.6%, 73.7%, 0%, 31.4%)
CIE-LABlab(33.97, 51.31, -58.66)
CIE-LCHlch(33.97, 77.94, 311.18°)
OKLaboklab(45.37% 0.0928 -0.1676)
OKLCHoklch(45.37% 0.192 299)
XYZxyz(14.4218, 7.9920, 41.3319)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682EAF #75AF2E
analogous
#2E34AF #682EAF #A82EAF
triadic
#682EAF #AF682E #2EAF68
tetradic
#682EAF #AF2E34 #75AF2E #2EAFA8
square
#682EAF #AF2E34 #75AF2E #2EAFA8
split-complementary
#682EAF #AFA82E #34AF2E
monochromatic
#2E154E #4B217F #682EAF #864BD0 #A77BDC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##682EAF#FFFFFF#000000##FFFFFF
##682EAF1.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)
#0050B3
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#574F6C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #682eaf;
/* rgb */ color: rgb(104, 46, 175);
/* oklch */ color: oklch(45.4% 0.192 299.0);
Tailwind
colors: {
  custom: {
    50: '#996cc8',
    500: '#682eaf',
    950: '#000000',
  },
}
SCSS
$custom: #682eaf;
$custom-light: #996cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#682eaf",
  "rgb": {
    "r": 104,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 266.977,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45373,
    "c": 0.19157,
    "h": 299
  },
  "luminance": 0.07992
}

Semantic roles & 50–950 ramp

primary
#682EAF
secondary
#A0C574
accent
#E2469C
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #682EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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