#674EC2#674EC2

#674EC2 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.3% C 0.173 H 288.7°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#674EC2
RGBrgb(103, 78, 194)
HSLhsl(253, 49%, 53%)
HSVhsv(253, 60%, 76%)
CMYKcmyk(46.9%, 59.8%, 0%, 23.9%)
CIE-LABlab(41.57, 39.25, -57.50)
CIE-LCHlch(41.57, 69.62, 304.31°)
OKLaboklab(51.28% 0.0556 -0.1643)
OKLCHoklch(51.28% 0.173 288.7)
XYZxyz(18.0527, 12.2267, 52.4373)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674EC2 #A9C24E
analogous
#4E6FC2 #674EC2 #A14EC2
triadic
#674EC2 #C2674E #4EC267
tetradic
#674EC2 #C24E6F #A9C24E #4EC2A1
square
#674EC2 #C24E6F #A9C24E #4EC2A1
split-complementary
#674EC2 #C2A14E #6FC24E
monochromatic
#36266F #4C369D #674EC2 #8E7CD2 #B5A9E1

Accessibility & contrast

On white

6.10
#674EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#674EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674EC2
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674EC2#FFFFFF#000000##FFFFFF
##674EC21.006.103.456.10
#FFFFFF6.101.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#005FC0
Tritanopia (blue-blind)
#4A6980
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #674ec2;
/* rgb */ color: rgb(103, 78, 194);
/* oklch */ color: oklch(51.3% 0.173 288.7);
Tailwind
colors: {
  custom: {
    50: '#9980d5',
    500: '#674ec2',
    950: '#000000',
  },
}
SCSS
$custom: #674ec2;
$custom-light: #9980d5;
$custom-dark: #000000;
JSON
{
  "hex": "#674ec2",
  "rgb": {
    "r": 103,
    "g": 78,
    "b": 194
  },
  "hsl": {
    "h": 252.931,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51281,
    "c": 0.17344,
    "h": 288.7
  },
  "luminance": 0.12227
}

Semantic roles & 50–950 ramp

primary
#674EC2
secondary
#C4CF9D
accent
#D850BB
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #674EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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