#674CE7#674CE7

#674CE7 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 53.9% C 0.222 H 284.1°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#674CE7
RGBrgb(103, 76, 231)
HSLhsl(250, 76%, 60%)
HSVhsv(250, 67%, 91%)
CMYKcmyk(55.4%, 67.1%, 0%, 9.4%)
CIE-LABlab(43.97, 51.24, -74.83)
CIE-LCHlch(43.97, 90.69, 304.40°)
OKLaboklab(53.91% 0.0539 -0.2152)
OKLCHoklch(53.91% 0.222 284.1)
XYZxyz(22.5974, 13.8206, 77.0627)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674CE7 #CCE74C
analogous
#4C7EE7 #674CE7 #B54CE7
triadic
#674CE7 #E7674C #4CE767
tetradic
#674CE7 #E74C7E #CCE74C #4CE7B5
square
#674CE7 #E74C7E #CCE74C #4CE7B5
split-complementary
#674CE7 #E7B54C #7EE74C
monochromatic
#2E16A3 #3E1DD9 #674CE7 #9582EE #C3B8F5

Accessibility & contrast

On white

5.58
#674CE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#674CE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674CE7
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674CE7#FFFFFF#000000##FFFFFF
##674CE71.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEC
Deuteranopia (green-blind)
#0063E4
Tritanopia (blue-blind)
#297493
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #674ce7;
/* rgb */ color: rgb(103, 76, 231);
/* oklch */ color: oklch(53.9% 0.222 284.1);
Tailwind
colors: {
  custom: {
    50: '#9e80f0',
    500: '#674ce7',
    950: '#000000',
  },
}
SCSS
$custom: #674ce7;
$custom-light: #9e80f0;
$custom-dark: #000000;
JSON
{
  "hex": "#674ce7",
  "rgb": {
    "r": 103,
    "g": 76,
    "b": 231
  },
  "hsl": {
    "h": 250.452,
    "s": 76.355,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53905,
    "c": 0.22189,
    "h": 284.1
  },
  "luminance": 0.13822
}

Semantic roles & 50–950 ramp

primary
#674CE7
secondary
#DBE5AA
accent
#D90DB5
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #674CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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