#674BDB#674BDB

#674BDB is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 52.8% C 0.209 H 285.7°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#674BDB
RGBrgb(103, 75, 219)
HSLhsl(252, 67%, 58%)
HSVhsv(252, 66%, 86%)
CMYKcmyk(53%, 65.8%, 0%, 14.1%)
CIE-LABlab(42.81, 48.27, -69.91)
CIE-LCHlch(42.81, 84.96, 304.62°)
OKLaboklab(52.76% 0.0565 -0.2008)
OKLCHoklch(52.76% 0.209 285.7)
XYZxyz(20.8919, 13.0291, 68.4181)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674BDB #BFDB4B
analogous
#4B77DB #674BDB #AF4BDB
triadic
#674BDB #DB674B #4BDB67
tetradic
#674BDB #DB4B77 #BFDB4B #4BDBAF
square
#674BDB #DB4B77 #BFDB4B #4BDBAF
split-complementary
#674BDB #DBAF4B #77DB4B
monochromatic
#331D8F #4527C2 #674BDB #927EE5 #BDB1EF

Accessibility & contrast

On white

5.82
#674BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#674BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674BDB
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674BDB#FFFFFF#000000##FFFFFF
##674BDB1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DF
Deuteranopia (green-blind)
#0061D8
Tritanopia (blue-blind)
#376F8D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #674bdb;
/* rgb */ color: rgb(103, 75, 219);
/* oklch */ color: oklch(52.8% 0.209 285.7);
Tailwind
colors: {
  custom: {
    50: '#9c7fe7',
    500: '#674bdb',
    950: '#000000',
  },
}
SCSS
$custom: #674bdb;
$custom-light: #9c7fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#674bdb",
  "rgb": {
    "r": 103,
    "g": 75,
    "b": 219
  },
  "hsl": {
    "h": 251.667,
    "s": 66.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52765,
    "c": 0.20858,
    "h": 285.7
  },
  "luminance": 0.1303
}

Semantic roles & 50–950 ramp

primary
#674BDB
secondary
#D3DEA4
accent
#EA3EC8
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #674BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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