#674CCD#674CCD

#674CCD is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.8% C 0.190 H 287.4°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#674CCD
RGBrgb(103, 76, 205)
HSLhsl(253, 56%, 55%)
HSVhsv(253, 63%, 80%)
CMYKcmyk(49.8%, 62.9%, 0%, 19.6%)
CIE-LABlab(41.94, 43.62, -63.29)
CIE-LCHlch(41.94, 76.86, 304.57°)
OKLaboklab(51.8% 0.057 -0.1813)
OKLCHoklch(51.8% 0.19 287.4)
XYZxyz(19.1942, 12.4593, 59.1393)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674CCD #B2CD4C
analogous
#4C72CD #674CCD #A74CCD
triadic
#674CCD #CD674C #4CCD67
tetradic
#674CCD #CD4C72 #B2CD4C #4CCDA7
square
#674CCD #CD4C72 #B2CD4C #4CCDA7
split-complementary
#674CCD #CDA74C #72CD4C
monochromatic
#35237C #4A30AC #674CCD #907CDA #B8ACE8

Accessibility & contrast

On white

6.01
#674CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#674CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674CCD
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674CCD#FFFFFF#000000##FFFFFF
##674CCD1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #674ccd;
/* rgb */ color: rgb(103, 76, 205);
/* oklch */ color: oklch(51.8% 0.190 287.4);
Tailwind
colors: {
  custom: {
    50: '#9a7fdd',
    500: '#674ccd',
    950: '#000000',
  },
}
SCSS
$custom: #674ccd;
$custom-light: #9a7fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#674ccd",
  "rgb": {
    "r": 103,
    "g": 76,
    "b": 205
  },
  "hsl": {
    "h": 252.558,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51798,
    "c": 0.19007,
    "h": 287.4
  },
  "luminance": 0.1246
}

Semantic roles & 50–950 ramp

primary
#674CCD
secondary
#CAD59F
accent
#E048C0
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #674CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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