#672BB8#672BB8

#672BB8 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.7% C 0.204 H 296.7°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#672BB8
RGBrgb(103, 43, 184)
HSLhsl(266, 62%, 45%)
HSVhsv(266, 77%, 72%)
CMYKcmyk(44%, 76.6%, 0%, 27.8%)
CIE-LABlab(34.13, 54.76, -63.75)
CIE-LCHlch(34.13, 84.03, 310.66°)
OKLaboklab(45.7% 0.0917 -0.1825)
OKLCHoklch(45.7% 0.204 296.7)
XYZxyz(15.1068, 8.0717, 46.1002)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672BB8 #7CB82B
analogous
#2B35B8 #672BB8 #AE2BB8
triadic
#672BB8 #B8672B #2BB867
tetradic
#672BB8 #B82B35 #7CB82B #2BB8AE
square
#672BB8 #B82B35 #7CB82B #2BB8AE
split-complementary
#672BB8 #B8AE2B #35B82B
monochromatic
#2F1455 #4B1F86 #672BB8 #864BD5 #A77DE1

Accessibility & contrast

On white

8.03
#672BB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#672BB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672BB8
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672BB8#FFFFFF#000000##FFFFFF
##672BB81.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BC
Deuteranopia (green-blind)
#004EB5
Tritanopia (blue-blind)
#515170
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #672bb8;
/* rgb */ color: rgb(103, 43, 184);
/* oklch */ color: oklch(45.7% 0.204 296.7);
Tailwind
colors: {
  custom: {
    50: '#9a6bce',
    500: '#672bb8',
    950: '#000000',
  },
}
SCSS
$custom: #672bb8;
$custom-light: #9a6bce;
$custom-dark: #000000;
JSON
{
  "hex": "#672bb8",
  "rgb": {
    "r": 103,
    "g": 43,
    "b": 184
  },
  "hsl": {
    "h": 265.532,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45696,
    "c": 0.2043,
    "h": 296.7
  },
  "luminance": 0.08072
}

Semantic roles & 50–950 ramp

primary
#672BB8
secondary
#A6C976
accent
#E543A0
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #672BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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