#674DCD#674DCD

#674DCD is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.0% C 0.189 H 287.2°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#674DCD
RGBrgb(103, 77, 205)
HSLhsl(252, 56%, 55%)
HSVhsv(252, 62%, 80%)
CMYKcmyk(49.8%, 62.4%, 0%, 19.6%)
CIE-LABlab(42.15, 43.05, -62.94)
CIE-LCHlch(42.15, 76.25, 304.37°)
OKLaboklab(51.95% 0.056 -0.1803)
OKLCHoklch(51.95% 0.189 287.2)
XYZxyz(19.2636, 12.5982, 59.1624)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674DCD #B3CD4D
analogous
#4D73CD #674DCD #A74DCD
triadic
#674DCD #CD674D #4DCD67
tetradic
#674DCD #CD4D73 #B3CD4D #4DCDA7
square
#674DCD #CD4D73 #B3CD4D #4DCDA7
split-complementary
#674DCD #CDA74D #73CD4D
monochromatic
#35237D #4A30AC #674DCD #907DDA #B9ADE8

Accessibility & contrast

On white

5.97
#674DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#674DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674DCD
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674DCD#FFFFFF#000000##FFFFFF
##674DCD1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#0060CA
Tritanopia (blue-blind)
#436C86
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #674dcd;
/* rgb */ color: rgb(103, 77, 205);
/* oklch */ color: oklch(52.0% 0.189 287.2);
Tailwind
colors: {
  custom: {
    50: '#9a80dd',
    500: '#674dcd',
    950: '#000000',
  },
}
SCSS
$custom: #674dcd;
$custom-light: #9a80dd;
$custom-dark: #000000;
JSON
{
  "hex": "#674dcd",
  "rgb": {
    "r": 103,
    "g": 77,
    "b": 205
  },
  "hsl": {
    "h": 252.188,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51954,
    "c": 0.18879,
    "h": 287.2
  },
  "luminance": 0.12599
}

Semantic roles & 50–950 ramp

primary
#674DCD
secondary
#CBD6A0
accent
#DF48C1
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #674DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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