#674BD8#674BD8

#674BD8 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.5% C 0.205 H 286.1°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#674BD8
RGBrgb(103, 75, 216)
HSLhsl(252, 64%, 57%)
HSVhsv(252, 65%, 85%)
CMYKcmyk(52.3%, 65.3%, 0%, 15.3%)
CIE-LABlab(42.57, 47.40, -68.58)
CIE-LCHlch(42.57, 83.37, 304.65°)
OKLaboklab(52.52% 0.0568 -0.1969)
OKLCHoklch(52.52% 0.205 286.1)
XYZxyz(20.5006, 12.8725, 66.3569)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674BD8 #BCD84B
analogous
#4B76D8 #674BD8 #AE4BD8
triadic
#674BD8 #D8674B #4BD867
tetradic
#674BD8 #D84B76 #BCD84B #4BD8AE
square
#674BD8 #D84B76 #BCD84B #4BD8AE
split-complementary
#674BD8 #D8AE4B #76D84B
monochromatic
#341E8B #4629BD #674BD8 #917DE3 #BCB0EE

Accessibility & contrast

On white

5.87
#674BD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#674BD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674BD8
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674BD8#FFFFFF#000000##FFFFFF
##674BD81.005.873.575.87
#FFFFFF5.871.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DC
Deuteranopia (green-blind)
#0060D5
Tritanopia (blue-blind)
#3A6E8B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #674bd8;
/* rgb */ color: rgb(103, 75, 216);
/* oklch */ color: oklch(52.5% 0.205 286.1);
Tailwind
colors: {
  custom: {
    50: '#9c7fe5',
    500: '#674bd8',
    950: '#000000',
  },
}
SCSS
$custom: #674bd8;
$custom-light: #9c7fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#674bd8",
  "rgb": {
    "r": 103,
    "g": 75,
    "b": 216
  },
  "hsl": {
    "h": 251.915,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52521,
    "c": 0.20492,
    "h": 286.1
  },
  "luminance": 0.12874
}

Semantic roles & 50–950 ramp

primary
#674BD8
secondary
#D1DCA3
accent
#E740C6
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #674BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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