#B374DA#B374DA

#B374DA is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.5% C 0.158 H 311.3°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#B374DA
RGBrgb(179, 116, 218)
HSLhsl(277, 58%, 65%)
HSVhsv(277, 47%, 85%)
CMYKcmyk(17.9%, 46.8%, 0%, 14.5%)
CIE-LABlab(59.10, 42.97, -42.78)
CIE-LCHlch(59.10, 60.64, 315.13°)
OKLaboklab(66.51% 0.1045 -0.1191)
OKLCHoklch(66.51% 0.158 311.3)
XYZxyz(37.4884, 27.1371, 69.5792)
Luminance0.2714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B374DA #9BDA74
analogous
#8074DA #B374DA #DA74CE
triadic
#B374DA #DAB374 #74DAB3
tetradic
#B374DA #DA8074 #9BDA74 #74CEDA
square
#B374DA #DA8074 #9BDA74 #74CEDA
split-complementary
#B374DA #CEDA74 #74DA80
monochromatic
#782CA7 #9944CD #B374DA #CDA4E7 #E8D5F4

Accessibility & contrast

On white

3.27
#B374DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#B374DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B374DA
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B374DA#FFFFFF#000000##000000
##B374DA1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8BDE
Deuteranopia (green-blind)
#6E90D7
Tritanopia (blue-blind)
#AF849D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b374da;
/* rgb */ color: rgb(179, 116, 218);
/* oklch */ color: oklch(66.5% 0.158 311.3);
Tailwind
colors: {
  custom: {
    50: '#cc9de6',
    500: '#b374da',
    950: '#000000',
  },
}
SCSS
$custom: #b374da;
$custom-light: #cc9de6;
$custom-dark: #000000;
JSON
{
  "hex": "#b374da",
  "rgb": {
    "r": 179,
    "g": 116,
    "b": 218
  },
  "hsl": {
    "h": 277.059,
    "s": 57.955,
    "l": 65.49
  },
  "oklch": {
    "l": 0.66511,
    "c": 0.15847,
    "h": 311.3
  },
  "luminance": 0.27136
}

Semantic roles & 50–950 ramp

primary
#B374DA
secondary
#D1E6C4
accent
#C6205F
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B374DA

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

Preview Lab → · Contrast checker → · Palette generator →

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