#674AEB#674AEB

#674AEB is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.0% C 0.229 H 283.9°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#674AEB
RGBrgb(103, 74, 235)
HSLhsl(251, 80%, 61%)
HSVhsv(251, 69%, 92%)
CMYKcmyk(56.2%, 68.5%, 0%, 7.8%)
CIE-LABlab(43.91, 53.48, -77.19)
CIE-LCHlch(43.91, 93.91, 304.72°)
OKLaboklab(53.96% 0.055 -0.2221)
OKLCHoklch(53.96% 0.229 283.9)
XYZxyz(23.0331, 13.7779, 80.0268)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674AEB #CEEB4A
analogous
#4A7EEB #674AEB #B74AEB
triadic
#674AEB #EB674A #4AEB67
tetradic
#674AEB #EB4A7E #CEEB4A #4AEBB7
square
#674AEB #EB4A7E #CEEB4A #4AEBB7
split-complementary
#674AEB #EBB74A #7EEB4A
monochromatic
#2D13A8 #3C19DF #674AEB #9581F1 #C4B8F7

Accessibility & contrast

On white

5.59
#674AEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #674AEB
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674AEB#FFFFFF#000000##FFFFFF
##674AEB1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DF0
Deuteranopia (green-blind)
#0062E8
Tritanopia (blue-blind)
#237495
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #674aeb;
/* rgb */ color: rgb(103, 74, 235);
/* oklch */ color: oklch(54.0% 0.229 283.9);
Tailwind
colors: {
  custom: {
    50: '#9f7ff3',
    500: '#674aeb',
    950: '#000000',
  },
}
SCSS
$custom: #674aeb;
$custom-light: #9f7ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#674aeb",
  "rgb": {
    "r": 103,
    "g": 74,
    "b": 235
  },
  "hsl": {
    "h": 250.807,
    "s": 80.1,
    "l": 60.588
  },
  "oklch": {
    "l": 0.53963,
    "c": 0.22885,
    "h": 283.9
  },
  "luminance": 0.13779
}

Semantic roles & 50–950 ramp

primary
#674AEB
secondary
#DCE7AA
accent
#DC09B6
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #674AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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