#682EBF#682EBF

#682EBF is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.7% C 0.209 H 295.2°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#682EBF
RGBrgb(104, 46, 191)
HSLhsl(264, 61%, 46%)
HSVhsv(264, 76%, 75%)
CMYKcmyk(45.5%, 75.9%, 0%, 25.1%)
CIE-LABlab(35.32, 55.38, -65.93)
CIE-LCHlch(35.32, 86.10, 310.03°)
OKLaboklab(46.74% 0.0889 -0.1889)
OKLCHoklch(46.74% 0.209 295.2)
XYZxyz(16.0873, 8.6582, 50.1037)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682EBF #85BF2E
analogous
#2E3DBF #682EBF #B12EBF
triadic
#682EBF #BF682E #2EBF68
tetradic
#682EBF #BF2E3D #85BF2E #2EBFB1
square
#682EBF #BF2E3D #85BF2E #2EBFB1
split-complementary
#682EBF #BFB12E #3DBF2E
monochromatic
#32165C #4D228E #682EBF #8854D6 #AA86E2

Accessibility & contrast

On white

7.69
#682EBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#682EBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682EBF
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682EBF#FFFFFF#000000##FFFFFF
##682EBF1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C3
Deuteranopia (green-blind)
#0051BC
Tritanopia (blue-blind)
#4F5575
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #682ebf;
/* rgb */ color: rgb(104, 46, 191);
/* oklch */ color: oklch(46.7% 0.209 295.2);
Tailwind
colors: {
  custom: {
    50: '#9b6dd3',
    500: '#682ebf',
    950: '#000000',
  },
}
SCSS
$custom: #682ebf;
$custom-light: #9b6dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#682ebf",
  "rgb": {
    "r": 104,
    "g": 46,
    "b": 191
  },
  "hsl": {
    "h": 264,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46741,
    "c": 0.20881,
    "h": 295.2
  },
  "luminance": 0.08659
}

Semantic roles & 50–950 ramp

primary
#682EBF
secondary
#ACCB7E
accent
#E444A4
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #682EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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