#674CCC#674CCC

#674CCC is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.7% C 0.189 H 287.6°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#674CCC
RGBrgb(103, 76, 204)
HSLhsl(253, 56%, 55%)
HSVhsv(253, 63%, 80%)
CMYKcmyk(49.5%, 62.7%, 0%, 20%)
CIE-LABlab(41.86, 43.33, -62.83)
CIE-LCHlch(41.86, 76.32, 304.59°)
OKLaboklab(51.72% 0.0571 -0.18)
OKLCHoklch(51.72% 0.189 287.6)
XYZxyz(19.0739, 12.4112, 58.5056)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674CCC #B1CC4C
analogous
#4C71CC #674CCC #A74CCC
triadic
#674CCC #CC674C #4CCC67
tetradic
#674CCC #CC4C71 #B1CC4C #4CCCA7
square
#674CCC #CC4C71 #B1CC4C #4CCCA7
split-complementary
#674CCC #CCA74C #71CC4C
monochromatic
#35237B #4A31AA #674CCC #8F7CDA #B8ABE7

Accessibility & contrast

On white

6.03
#674CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#674CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674CCC
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674CCC#FFFFFF#000000##FFFFFF
##674CCC1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#436B85
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #674ccc;
/* rgb */ color: rgb(103, 76, 204);
/* oklch */ color: oklch(51.7% 0.189 287.6);
Tailwind
colors: {
  custom: {
    50: '#9a7fdc',
    500: '#674ccc',
    950: '#000000',
  },
}
SCSS
$custom: #674ccc;
$custom-light: #9a7fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#674ccc",
  "rgb": {
    "r": 103,
    "g": 76,
    "b": 204
  },
  "hsl": {
    "h": 252.656,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5172,
    "c": 0.18882,
    "h": 287.6
  },
  "luminance": 0.12412
}

Semantic roles & 50–950 ramp

primary
#674CCC
secondary
#C9D59F
accent
#DF49BF
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #674CCC

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

Preview Lab → · Contrast checker → · Palette generator →

#674CCC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva