#B274D5#B274D5

#B274D5 is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.1% C 0.152 H 312.3°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#B274D5
RGBrgb(178, 116, 213)
HSLhsl(278, 54%, 65%)
HSVhsv(278, 46%, 84%)
CMYKcmyk(16.4%, 45.5%, 0%, 16.5%)
CIE-LABlab(58.75, 41.60, -40.53)
CIE-LCHlch(58.75, 58.08, 315.75°)
OKLaboklab(66.15% 0.1026 -0.1126)
OKLCHoklch(66.15% 0.152 312.3)
XYZxyz(36.6137, 26.7606, 66.1744)
Luminance0.2676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B274D5 #97D574
analogous
#8274D5 #B274D5 #D574C7
triadic
#B274D5 #D5B274 #74D5B2
tetradic
#B274D5 #D58274 #97D574 #74C7D5
square
#B274D5 #D58274 #97D574 #74C7D5
split-complementary
#B274D5 #C7D574 #74D582
monochromatic
#77309F #9845C7 #B274D5 #CCA3E3 #E6D2F1

Accessibility & contrast

On white

3.31
#B274D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#B274D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B274D5
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B274D5#FFFFFF#000000##000000
##B274D51.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8AD8
Deuteranopia (green-blind)
#708FD2
Tritanopia (blue-blind)
#AF839A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b274d5;
/* rgb */ color: rgb(178, 116, 213);
/* oklch */ color: oklch(66.1% 0.152 312.3);
Tailwind
colors: {
  custom: {
    50: '#cb9de2',
    500: '#b274d5',
    950: '#000000',
  },
}
SCSS
$custom: #b274d5;
$custom-light: #cb9de2;
$custom-dark: #000000;
JSON
{
  "hex": "#b274d5",
  "rgb": {
    "r": 178,
    "g": 116,
    "b": 213
  },
  "hsl": {
    "h": 278.351,
    "s": 53.591,
    "l": 64.51
  },
  "oklch": {
    "l": 0.66148,
    "c": 0.15233,
    "h": 312.3
  },
  "luminance": 0.2676
}

Semantic roles & 50–950 ramp

primary
#B274D5
secondary
#CEE3C2
accent
#C1245D
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #B274D5

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

Preview Lab → · Contrast checker → · Palette generator →

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