#674EDB#674EDB

#674EDB is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.2% C 0.205 H 285.2°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#674EDB
RGBrgb(103, 78, 219)
HSLhsl(251, 66%, 58%)
HSVhsv(251, 64%, 86%)
CMYKcmyk(53%, 64.4%, 0%, 14.1%)
CIE-LABlab(43.43, 46.60, -68.90)
CIE-LCHlch(43.43, 83.18, 304.07°)
OKLaboklab(53.21% 0.0537 -0.1978)
OKLCHoklch(53.21% 0.205 285.2)
XYZxyz(21.1002, 13.4457, 68.4875)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674EDB #C2DB4E
analogous
#4E7BDB #674EDB #AD4EDB
triadic
#674EDB #DB674E #4EDB67
tetradic
#674EDB #DB4E7B #C2DB4E #4EDBAD
square
#674EDB #DB4E7B #C2DB4E #4EDBAD
split-complementary
#674EDB #DBAD4E #7BDB4E
monochromatic
#321E91 #4428C4 #674EDB #9381E5 #BEB4F0

Accessibility & contrast

On white

5.69
#674EDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#674EDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674EDB
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674EDB#FFFFFF#000000##FFFFFF
##674EDB1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDF
Deuteranopia (green-blind)
#0062D8
Tritanopia (blue-blind)
#37718E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #674edb;
/* rgb */ color: rgb(103, 78, 219);
/* oklch */ color: oklch(53.2% 0.205 285.2);
Tailwind
colors: {
  custom: {
    50: '#9c81e7',
    500: '#674edb',
    950: '#000000',
  },
}
SCSS
$custom: #674edb;
$custom-light: #9c81e7;
$custom-dark: #000000;
JSON
{
  "hex": "#674edb",
  "rgb": {
    "r": 103,
    "g": 78,
    "b": 219
  },
  "hsl": {
    "h": 250.638,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.53214,
    "c": 0.20497,
    "h": 285.2
  },
  "luminance": 0.13447
}

Semantic roles & 50–950 ramp

primary
#674EDB
secondary
#D5DEA6
accent
#E93FCB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #674EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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