#B274DE#B274DE

#B274DE is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.6% C 0.163 H 309.6°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#B274DE
RGBrgb(178, 116, 222)
HSLhsl(275, 62%, 66%)
HSVhsv(275, 48%, 87%)
CMYKcmyk(19.8%, 47.7%, 0%, 12.9%)
CIE-LABlab(59.19, 43.57, -44.90)
CIE-LCHlch(59.19, 62.57, 314.14°)
OKLaboklab(66.61% 0.1038 -0.1253)
OKLCHoklch(66.61% 0.163 309.6)
XYZxyz(37.7878, 27.2303, 72.3584)
Luminance0.2723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B274DE #A0DE74
analogous
#7D74DE #B274DE #DE74D5
triadic
#B274DE #DEB274 #74DEB2
tetradic
#B274DE #DE7D74 #A0DE74 #74D5DE
square
#B274DE #DE7D74 #A0DE74 #74D5DE
split-complementary
#B274DE #D5DE74 #74DE7D
monochromatic
#7729AE #9743D2 #B274DE #CDA5EA #E9D7F5

Accessibility & contrast

On white

3.26
#B274DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#B274DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B274DE
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B274DE#FFFFFF#000000##000000
##B274DE1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8CE2
Deuteranopia (green-blind)
#6B8FDB
Tritanopia (blue-blind)
#AC859F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b274de;
/* rgb */ color: rgb(178, 116, 222);
/* oklch */ color: oklch(66.6% 0.163 309.6);
Tailwind
colors: {
  custom: {
    50: '#cb9de9',
    500: '#b274de',
    950: '#000000',
  },
}
SCSS
$custom: #b274de;
$custom-light: #cb9de9;
$custom-dark: #000000;
JSON
{
  "hex": "#b274de",
  "rgb": {
    "r": 178,
    "g": 116,
    "b": 222
  },
  "hsl": {
    "h": 275.094,
    "s": 61.628,
    "l": 66.275
  },
  "oklch": {
    "l": 0.66614,
    "c": 0.16272,
    "h": 309.6
  },
  "luminance": 0.2723
}

Semantic roles & 50–950 ramp

primary
#B274DE
secondary
#D4E8C6
accent
#C91C64
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #B274DE

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

Preview Lab → · Contrast checker → · Palette generator →

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