#672FB7#672FB7

#672FB7 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.0% C 0.199 H 296.4°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#672FB7
RGBrgb(103, 47, 183)
HSLhsl(265, 59%, 45%)
HSVhsv(265, 74%, 72%)
CMYKcmyk(43.7%, 74.3%, 0%, 28.2%)
CIE-LABlab(34.67, 52.72, -62.27)
CIE-LCHlch(34.67, 81.59, 310.25°)
OKLaboklab(46.05% 0.0886 -0.1782)
OKLCHoklch(46.05% 0.199 296.4)
XYZxyz(15.1550, 8.3352, 45.6009)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672FB7 #7FB72F
analogous
#2F3BB7 #672FB7 #AB2FB7
triadic
#672FB7 #B7672F #2FB767
tetradic
#672FB7 #B72F3B #7FB72F #2FB7AB
square
#672FB7 #B72F3B #7FB72F #2FB7AB
split-complementary
#672FB7 #B7AB2F #3BB72F
monochromatic
#301656 #4C2286 #672FB7 #8651D2 #A882DF

Accessibility & contrast

On white

7.87
#672FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#672FB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672FB7
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672FB7#FFFFFF#000000##FFFFFF
##672FB71.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BB
Deuteranopia (green-blind)
#0050B4
Tritanopia (blue-blind)
#525371
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #672fb7;
/* rgb */ color: rgb(103, 47, 183);
/* oklch */ color: oklch(46.0% 0.199 296.4);
Tailwind
colors: {
  custom: {
    50: '#9a6dce',
    500: '#672fb7',
    950: '#000000',
  },
}
SCSS
$custom: #672fb7;
$custom-light: #9a6dce;
$custom-dark: #000000;
JSON
{
  "hex": "#672fb7",
  "rgb": {
    "r": 103,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 264.706,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46049,
    "c": 0.19903,
    "h": 296.4
  },
  "luminance": 0.08335
}

Semantic roles & 50–950 ramp

primary
#672FB7
secondary
#A8C87A
accent
#E245A2
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #672FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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