#B374DF#B374DF

#B374DF is a light, vivid violet. Relative luminance 0.274; OKLCH L 66.8% C 0.164 H 309.8°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#B374DF
RGBrgb(179, 116, 223)
HSLhsl(275, 63%, 66%)
HSVhsv(275, 48%, 87%)
CMYKcmyk(19.7%, 48%, 0%, 12.5%)
CIE-LABlab(59.35, 44.07, -45.20)
CIE-LCHlch(59.35, 63.13, 314.27°)
OKLaboklab(66.77% 0.1052 -0.1262)
OKLCHoklch(66.77% 0.164 309.8)
XYZxyz(38.1526, 27.4028, 73.0771)
Luminance0.2740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B374DF #A0DF74
analogous
#7E74DF #B374DF #DF74D6
triadic
#B374DF #DFB374 #74DFB3
tetradic
#B374DF #DF7E74 #A0DF74 #74D6DF
square
#B374DF #DF7E74 #A0DF74 #74D6DF
split-complementary
#B374DF #D6DF74 #74DF7E
monochromatic
#7829B0 #9842D4 #B374DF #CEA6EA #E9D7F6

Accessibility & contrast

On white

3.24
#B374DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#B374DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B374DF
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B374DF#FFFFFF#000000##000000
##B374DF1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8CE3
Deuteranopia (green-blind)
#6B90DC
Tritanopia (blue-blind)
#AE859F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b374df;
/* rgb */ color: rgb(179, 116, 223);
/* oklch */ color: oklch(66.8% 0.164 309.8);
Tailwind
colors: {
  custom: {
    50: '#cc9de9',
    500: '#b374df',
    950: '#000000',
  },
}
SCSS
$custom: #b374df;
$custom-light: #cc9de9;
$custom-dark: #000000;
JSON
{
  "hex": "#b374df",
  "rgb": {
    "r": 179,
    "g": 116,
    "b": 223
  },
  "hsl": {
    "h": 275.327,
    "s": 62.573,
    "l": 66.471
  },
  "oklch": {
    "l": 0.66772,
    "c": 0.16423,
    "h": 309.8
  },
  "luminance": 0.27402
}

Semantic roles & 50–950 ramp

primary
#B374DF
secondary
#D4E9C6
accent
#CA1B63
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B374DF

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

Preview Lab → · Contrast checker → · Palette generator →

#B374DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva