#672EB8#672EB8

#672EB8 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.0% C 0.201 H 296.3°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#672EB8
RGBrgb(103, 46, 184)
HSLhsl(265, 60%, 45%)
HSVhsv(265, 75%, 72%)
CMYKcmyk(44%, 75%, 0%, 27.8%)
CIE-LABlab(34.60, 53.43, -62.99)
CIE-LCHlch(34.60, 82.60, 310.31°)
OKLaboklab(46.02% 0.0892 -0.1803)
OKLCHoklch(46.02% 0.201 296.3)
XYZxyz(15.2199, 8.2979, 46.1379)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672EB8 #7FB82E
analogous
#2E3AB8 #672EB8 #AC2EB8
triadic
#672EB8 #B8672E #2EB867
tetradic
#672EB8 #B82E3A #7FB82E #2EB8AC
square
#672EB8 #B82E3A #7FB82E #2EB8AC
split-complementary
#672EB8 #B8AC2E #3AB82E
monochromatic
#301656 #4C2287 #672EB8 #8650D3 #A881DF

Accessibility & contrast

On white

7.90
#672EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#672EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672EB8
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672EB8#FFFFFF#000000##FFFFFF
##672EB81.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#004FB5
Tritanopia (blue-blind)
#515371
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #672eb8;
/* rgb */ color: rgb(103, 46, 184);
/* oklch */ color: oklch(46.0% 0.201 296.3);
Tailwind
colors: {
  custom: {
    50: '#9a6dce',
    500: '#672eb8',
    950: '#000000',
  },
}
SCSS
$custom: #672eb8;
$custom-light: #9a6dce;
$custom-dark: #000000;
JSON
{
  "hex": "#672eb8",
  "rgb": {
    "r": 103,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 264.783,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46022,
    "c": 0.2012,
    "h": 296.3
  },
  "luminance": 0.08298
}

Semantic roles & 50–950 ramp

primary
#672EB8
secondary
#A8C879
accent
#E345A2
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #672EB8

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

Preview Lab → · Contrast checker → · Palette generator →

#672EB8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva