#674BD5#674BD5

#674BD5 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.3% C 0.201 H 286.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#674BD5
RGBrgb(103, 75, 213)
HSLhsl(252, 62%, 56%)
HSVhsv(252, 65%, 84%)
CMYKcmyk(51.6%, 64.8%, 0%, 16.5%)
CIE-LABlab(42.34, 46.52, -67.24)
CIE-LCHlch(42.34, 81.77, 304.68°)
OKLaboklab(52.28% 0.0572 -0.1929)
OKLCHoklch(52.28% 0.201 286.5)
XYZxyz(20.1163, 12.7188, 64.3329)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674BD5 #B9D54B
analogous
#4B74D5 #674BD5 #AC4BD5
triadic
#674BD5 #D5674B #4BD567
tetradic
#674BD5 #D54B74 #B9D54B #4BD5AC
square
#674BD5 #D54B74 #B9D54B #4BD5AC
split-complementary
#674BD5 #D5AC4B #74D54B
monochromatic
#341F86 #482BB8 #674BD5 #917DE1 #BBAEEC

Accessibility & contrast

On white

5.93
#674BD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#674BD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674BD5
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674BD5#FFFFFF#000000##FFFFFF
##674BD51.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D9
Deuteranopia (green-blind)
#0060D2
Tritanopia (blue-blind)
#3D6D89
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #674bd5;
/* rgb */ color: rgb(103, 75, 213);
/* oklch */ color: oklch(52.3% 0.201 286.5);
Tailwind
colors: {
  custom: {
    50: '#9c7fe3',
    500: '#674bd5',
    950: '#000000',
  },
}
SCSS
$custom: #674bd5;
$custom-light: #9c7fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#674bd5",
  "rgb": {
    "r": 103,
    "g": 75,
    "b": 213
  },
  "hsl": {
    "h": 252.174,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52279,
    "c": 0.20124,
    "h": 286.5
  },
  "luminance": 0.1272
}

Semantic roles & 50–950 ramp

primary
#674BD5
secondary
#CFDAA2
accent
#E543C4
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #674BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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