#674EE3#674EE3

#674EE3 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 53.9% C 0.215 H 284.2°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#674EE3
RGBrgb(103, 78, 227)
HSLhsl(250, 73%, 60%)
HSVhsv(250, 66%, 89%)
CMYKcmyk(54.6%, 65.6%, 0%, 11%)
CIE-LABlab(44.06, 48.96, -72.43)
CIE-LCHlch(44.06, 87.43, 304.06°)
OKLaboklab(53.86% 0.0528 -0.2082)
OKLCHoklch(53.86% 0.215 284.2)
XYZxyz(22.1788, 13.8771, 74.1680)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674EE3 #CAE34E
analogous
#4E80E3 #674EE3 #B14EE3
triadic
#674EE3 #E3674E #4EE367
tetradic
#674EE3 #E34E80 #CAE34E #4EE3B1
square
#674EE3 #E34E80 #CAE34E #4EE3B1
split-complementary
#674EE3 #E3B14E #80E34E
monochromatic
#2F199E #3F21D3 #674EE3 #9483EB #C2B8F4

Accessibility & contrast

On white

5.56
#674EE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#674EE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674EE3
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674EE3#FFFFFF#000000##FFFFFF
##674EE31.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE8
Deuteranopia (green-blind)
#0063E0
Tritanopia (blue-blind)
#2E7492
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #674ee3;
/* rgb */ color: rgb(103, 78, 227);
/* oklch */ color: oklch(53.9% 0.215 284.2);
Tailwind
colors: {
  custom: {
    50: '#9d81ed',
    500: '#674ee3',
    950: '#000000',
  },
}
SCSS
$custom: #674ee3;
$custom-light: #9d81ed;
$custom-dark: #000000;
JSON
{
  "hex": "#674ee3",
  "rgb": {
    "r": 103,
    "g": 78,
    "b": 227
  },
  "hsl": {
    "h": 250.067,
    "s": 72.683,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53864,
    "c": 0.21476,
    "h": 284.2
  },
  "luminance": 0.13878
}

Semantic roles & 50–950 ramp

primary
#674EE3
secondary
#DAE3AA
accent
#EF38D1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #674EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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