#674DC9#674DC9

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

Color values

HEX#674DC9
RGBrgb(103, 77, 201)
HSLhsl(253, 53%, 55%)
HSVhsv(253, 62%, 79%)
CMYKcmyk(48.8%, 61.7%, 0%, 21.2%)
CIE-LABlab(41.86, 41.87, -61.11)
CIE-LCHlch(41.86, 74.08, 304.42°)
OKLaboklab(51.65% 0.0563 -0.1749)
OKLCHoklch(51.65% 0.184 287.8)
XYZxyz(18.7869, 12.4075, 56.6520)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674DC9 #AFC94D
analogous
#4D71C9 #674DC9 #A54DC9
triadic
#674DC9 #C9674D #4DC967
tetradic
#674DC9 #C94D71 #AFC94D #4DC9A5
square
#674DC9 #C94D71 #AFC94D #4DC9A5
split-complementary
#674DC9 #C9A54D #71C94D
monochromatic
#362477 #4B32A6 #674DC9 #8F7CD7 #B7ABE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##674DC9#FFFFFF#000000##FFFFFF
##674DC91.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)
#0066CD
Deuteranopia (green-blind)
#005FC6
Tritanopia (blue-blind)
#456A84
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #674dc9;
/* rgb */ color: rgb(103, 77, 201);
/* oklch */ color: oklch(51.6% 0.184 287.8);
Tailwind
colors: {
  custom: {
    50: '#9a80da',
    500: '#674dc9',
    950: '#000000',
  },
}
SCSS
$custom: #674dc9;
$custom-light: #9a80da;
$custom-dark: #000000;
JSON
{
  "hex": "#674dc9",
  "rgb": {
    "r": 103,
    "g": 77,
    "b": 201
  },
  "hsl": {
    "h": 252.581,
    "s": 53.448,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51646,
    "c": 0.18374,
    "h": 287.8
  },
  "luminance": 0.12408
}

Semantic roles & 50–950 ramp

primary
#674DC9
secondary
#C8D39F
accent
#DD4BBE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #674DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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