#674BE7#674BE7

#674BE7 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.8% C 0.223 H 284.2°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#674BE7
RGBrgb(103, 75, 231)
HSLhsl(251, 76%, 60%)
HSVhsv(251, 68%, 91%)
CMYKcmyk(55.4%, 67.5%, 0%, 9.4%)
CIE-LABlab(43.78, 51.78, -75.15)
CIE-LCHlch(43.78, 91.27, 304.57°)
OKLaboklab(53.76% 0.0548 -0.2162)
OKLCHoklch(53.76% 0.223 284.2)
XYZxyz(22.5290, 13.6839, 77.0399)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#674BE7 #CBE74B
analogous
#4B7DE7 #674BE7 #B54BE7
triadic
#674BE7 #E7674B #4BE767
tetradic
#674BE7 #E74B7D #CBE74B #4BE7B5
square
#674BE7 #E74B7D #CBE74B #4BE7B5
split-complementary
#674BE7 #E7B54B #7DE74B
monochromatic
#2F16A2 #3E1DD8 #674BE7 #9581EE #C2B7F5

Accessibility & contrast

On white

5.62
#674BE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#674BE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #674BE7
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##674BE7#FFFFFF#000000##FFFFFF
##674BE71.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEC
Deuteranopia (green-blind)
#0062E4
Tritanopia (blue-blind)
#297393
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #674be7;
/* rgb */ color: rgb(103, 75, 231);
/* oklch */ color: oklch(53.8% 0.223 284.2);
Tailwind
colors: {
  custom: {
    50: '#9e7ff0',
    500: '#674be7',
    950: '#000000',
  },
}
SCSS
$custom: #674be7;
$custom-light: #9e7ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#674be7",
  "rgb": {
    "r": 103,
    "g": 75,
    "b": 231
  },
  "hsl": {
    "h": 250.769,
    "s": 76.471,
    "l": 60
  },
  "oklch": {
    "l": 0.53763,
    "c": 0.22301,
    "h": 284.2
  },
  "luminance": 0.13685
}

Semantic roles & 50–950 ramp

primary
#674BE7
secondary
#DAE5A9
accent
#F335D1
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #674BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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