#674CD4#674CD4

#674CD4 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.3% C 0.199 H 286.5°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#674CD4
RGBrgb(103, 76, 212)
HSLhsl(252, 61%, 56%)
HSVhsv(252, 64%, 83%)
CMYKcmyk(51.4%, 64.2%, 0%, 16.9%)
CIE-LABlab(42.47, 45.67, -66.46)
CIE-LCHlch(42.47, 80.63, 304.50°)
OKLaboklab(52.35% 0.0563 -0.1906)
OKLCHoklch(52.35% 0.199 286.5)
XYZxyz(20.0581, 12.8049, 63.6893)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674CD4 #B9D44C
analogous
#4C75D4 #674CD4 #AB4CD4
triadic
#674CD4 #D4674C #4CD467
tetradic
#674CD4 #D44C75 #B9D44C #4CD4AB
square
#674CD4 #D44C75 #B9D44C #4CD4AB
split-complementary
#674CD4 #D4AB4C #75D44C
monochromatic
#342086 #482CB7 #674CD4 #917DE0 #BBAFEC

Accessibility & contrast

On white

5.90
#674CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#674CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674CD4
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674CD4#FFFFFF#000000##FFFFFF
##674CD41.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D8
Deuteranopia (green-blind)
#0060D1
Tritanopia (blue-blind)
#3D6D89
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #674cd4;
/* rgb */ color: rgb(103, 76, 212);
/* oklch */ color: oklch(52.3% 0.199 286.5);
Tailwind
colors: {
  custom: {
    50: '#9b80e2',
    500: '#674cd4',
    950: '#000000',
  },
}
SCSS
$custom: #674cd4;
$custom-light: #9b80e2;
$custom-dark: #000000;
JSON
{
  "hex": "#674cd4",
  "rgb": {
    "r": 103,
    "g": 76,
    "b": 212
  },
  "hsl": {
    "h": 251.912,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5235,
    "c": 0.19879,
    "h": 286.5
  },
  "luminance": 0.12806
}

Semantic roles & 50–950 ramp

primary
#674CD4
secondary
#CFDAA2
accent
#E443C4
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A15
muted
#7F7C84

Preview Lab

Preview with #674CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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