#B274DF#B274DF

#B274DF is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.7% C 0.164 H 309.4°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#B274DF
RGBrgb(178, 116, 223)
HSLhsl(275, 63%, 66%)
HSVhsv(275, 48%, 87%)
CMYKcmyk(20.2%, 48%, 0%, 12.5%)
CIE-LABlab(59.24, 43.80, -45.38)
CIE-LCHlch(59.24, 63.07, 313.98°)
OKLaboklab(66.67% 0.1039 -0.1267)
OKLCHoklch(66.67% 0.164 309.4)
XYZxyz(37.9223, 27.2840, 73.0663)
Luminance0.2728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B274DF #A1DF74
analogous
#7D74DF #B274DF #DF74D7
triadic
#B274DF #DFB274 #74DFB2
tetradic
#B274DF #DF7D74 #A1DF74 #74D7DF
square
#B274DF #DF7D74 #A1DF74 #74D7DF
split-complementary
#B274DF #D7DF74 #74DF7D
monochromatic
#7729B0 #9642D4 #B274DF #CEA6EA #E9D7F6

Accessibility & contrast

On white

3.25
#B274DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#B274DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B274DF
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B274DF#FFFFFF#000000##000000
##B274DF1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#598CE3
Deuteranopia (green-blind)
#6B90DC
Tritanopia (blue-blind)
#AC869F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b274df;
/* rgb */ color: rgb(178, 116, 223);
/* oklch */ color: oklch(66.7% 0.164 309.4);
Tailwind
colors: {
  custom: {
    50: '#cb9de9',
    500: '#b274df',
    950: '#000000',
  },
}
SCSS
$custom: #b274df;
$custom-light: #cb9de9;
$custom-dark: #000000;
JSON
{
  "hex": "#b274df",
  "rgb": {
    "r": 178,
    "g": 116,
    "b": 223
  },
  "hsl": {
    "h": 274.766,
    "s": 62.573,
    "l": 66.471
  },
  "oklch": {
    "l": 0.66667,
    "c": 0.16388,
    "h": 309.4
  },
  "luminance": 0.27283
}

Semantic roles & 50–950 ramp

primary
#B274DF
secondary
#D5E9C6
accent
#CA1B65
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B274DF

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

Preview Lab → · Contrast checker → · Palette generator →

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