#674CCA#674CCA

#674CCA is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.6% C 0.186 H 287.9°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#674CCA
RGBrgb(103, 76, 202)
HSLhsl(253, 54%, 55%)
HSVhsv(253, 62%, 79%)
CMYKcmyk(49%, 62.4%, 0%, 20.8%)
CIE-LABlab(41.71, 42.74, -61.92)
CIE-LCHlch(41.71, 75.24, 304.62°)
OKLaboklab(51.57% 0.0572 -0.1773)
OKLCHoklch(51.57% 0.186 287.9)
XYZxyz(18.8355, 12.3159, 57.2504)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674CCA #AFCA4C
analogous
#4C70CA #674CCA #A64CCA
triadic
#674CCA #CA674C #4CCA67
tetradic
#674CCA #CA4C70 #AFCA4C #4CCAA6
square
#674CCA #CA4C70 #AFCA4C #4CCAA6
split-complementary
#674CCA #CAA64C #70CA4C
monochromatic
#362478 #4B32A7 #674CCA #8F7BD8 #B7AAE6

Accessibility & contrast

On white

6.06
#674CCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#674CCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674CCA
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674CCA#FFFFFF#000000##FFFFFF
##674CCA1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#456A84
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #674cca;
/* rgb */ color: rgb(103, 76, 202);
/* oklch */ color: oklch(51.6% 0.186 287.9);
Tailwind
colors: {
  custom: {
    50: '#9a7fdb',
    500: '#674cca',
    950: '#000000',
  },
}
SCSS
$custom: #674cca;
$custom-light: #9a7fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#674cca",
  "rgb": {
    "r": 103,
    "g": 76,
    "b": 202
  },
  "hsl": {
    "h": 252.857,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51565,
    "c": 0.1863,
    "h": 287.9
  },
  "luminance": 0.12317
}

Semantic roles & 50–950 ramp

primary
#674CCA
secondary
#C8D49E
accent
#DE4ABE
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #674CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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