#B274DB#B274DB

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

Color values

HEX#B274DB
RGBrgb(178, 116, 219)
HSLhsl(276, 59%, 66%)
HSVhsv(276, 47%, 86%)
CMYKcmyk(18.7%, 47%, 0%, 14.1%)
CIE-LABlab(59.04, 42.91, -43.45)
CIE-LCHlch(59.04, 61.07, 314.64°)
OKLaboklab(66.46% 0.1034 -0.1211)
OKLCHoklch(66.46% 0.159 310.5)
XYZxyz(37.3893, 27.0709, 70.2596)
Luminance0.2707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B274DB #9DDB74
analogous
#7E74DB #B274DB #DB74D0
triadic
#B274DB #DBB274 #74DBB2
tetradic
#B274DB #DB7E74 #9DDB74 #74D0DB
square
#B274DB #DB7E74 #9DDB74 #74D0DB
split-complementary
#B274DB #D0DB74 #74DB7E
monochromatic
#772CA9 #9743CE #B274DB #CDA5E8 #E8D5F4

Accessibility & contrast

On white

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

On black

6.41
#B274DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B274DB
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B274DB#FFFFFF#000000##000000
##B274DB1.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8BDF
Deuteranopia (green-blind)
#6D8FD8
Tritanopia (blue-blind)
#AD849D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b274db;
/* rgb */ color: rgb(178, 116, 219);
/* oklch */ color: oklch(66.5% 0.159 310.5);
Tailwind
colors: {
  custom: {
    50: '#cb9de6',
    500: '#b274db',
    950: '#000000',
  },
}
SCSS
$custom: #b274db;
$custom-light: #cb9de6;
$custom-dark: #000000;
JSON
{
  "hex": "#b274db",
  "rgb": {
    "r": 178,
    "g": 116,
    "b": 219
  },
  "hsl": {
    "h": 276.117,
    "s": 58.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.66456,
    "c": 0.15925,
    "h": 310.5
  },
  "luminance": 0.2707
}

Semantic roles & 50–950 ramp

primary
#B274DB
secondary
#D2E7C4
accent
#C61F62
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #B274DB

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

Preview Lab → · Contrast checker → · Palette generator →

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