#674ECA#674ECA

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

Color values

HEX#674ECA
RGBrgb(103, 78, 202)
HSLhsl(252, 54%, 55%)
HSVhsv(252, 61%, 79%)
CMYKcmyk(49%, 61.4%, 0%, 20.8%)
CIE-LABlab(42.15, 41.59, -61.21)
CIE-LCHlch(42.15, 74.01, 304.19°)
OKLaboklab(51.88% 0.0551 -0.1752)
OKLCHoklch(51.88% 0.184 287.5)
XYZxyz(18.9755, 12.5958, 57.2971)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674ECA #B1CA4E
analogous
#4E73CA #674ECA #A54ECA
triadic
#674ECA #CA674E #4ECA67
tetradic
#674ECA #CA4E73 #B1CA4E #4ECAA5
square
#674ECA #CA4E73 #B1CA4E #4ECAA5
split-complementary
#674ECA #CAA54E #73CA4E
monochromatic
#352479 #4A32A8 #674ECA #8F7DD8 #B8ACE6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##674ECA#FFFFFF#000000##FFFFFF
##674ECA1.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)
#0066CE
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#456B85
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #674eca;
/* rgb */ color: rgb(103, 78, 202);
/* oklch */ color: oklch(51.9% 0.184 287.5);
Tailwind
colors: {
  custom: {
    50: '#9a81db',
    500: '#674eca',
    950: '#000000',
  },
}
SCSS
$custom: #674eca;
$custom-light: #9a81db;
$custom-dark: #000000;
JSON
{
  "hex": "#674eca",
  "rgb": {
    "r": 103,
    "g": 78,
    "b": 202
  },
  "hsl": {
    "h": 252.097,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.51882,
    "c": 0.18369,
    "h": 287.5
  },
  "luminance": 0.12597
}

Semantic roles & 50–950 ramp

primary
#674ECA
secondary
#C9D4A0
accent
#DD4BC0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #674ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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