#B273DF#B273DF

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

Color values

HEX#B273DF
RGBrgb(178, 115, 223)
HSLhsl(275, 63%, 66%)
HSVhsv(275, 48%, 87%)
CMYKcmyk(20.2%, 48.4%, 0%, 12.5%)
CIE-LABlab(59.02, 44.34, -45.71)
CIE-LCHlch(59.02, 63.68, 314.12°)
OKLaboklab(66.51% 0.1053 -0.1277)
OKLCHoklch(66.51% 0.165 309.5)
XYZxyz(37.8076, 27.0547, 73.0281)
Luminance0.2705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B273DF #A0DF73
analogous
#7C73DF #B273DF #DF73D6
triadic
#B273DF #DFB273 #73DFB2
tetradic
#B273DF #DF7C73 #A0DF73 #73D6DF
square
#B273DF #DF7C73 #A0DF73 #73D6DF
split-complementary
#B273DF #D6DF73 #73DF7C
monochromatic
#7728AF #9741D4 #B273DF #CDA5EA #E9D7F6

Accessibility & contrast

On white

3.28
#B273DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B273DF#FFFFFF#000000##000000
##B273DF1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#588BE3
Deuteranopia (green-blind)
#6A8FDC
Tritanopia (blue-blind)
#AC859F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b273df;
/* rgb */ color: rgb(178, 115, 223);
/* oklch */ color: oklch(66.5% 0.165 309.5);
Tailwind
colors: {
  custom: {
    50: '#cb9de9',
    500: '#b273df',
    950: '#000000',
  },
}
SCSS
$custom: #b273df;
$custom-light: #cb9de9;
$custom-dark: #000000;
JSON
{
  "hex": "#b273df",
  "rgb": {
    "r": 178,
    "g": 115,
    "b": 223
  },
  "hsl": {
    "h": 275,
    "s": 62.791,
    "l": 66.275
  },
  "oklch": {
    "l": 0.66509,
    "c": 0.16549,
    "h": 309.5
  },
  "luminance": 0.27054
}

Semantic roles & 50–950 ramp

primary
#B273DF
secondary
#D4E9C5
accent
#CB1B64
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B273DF

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

Preview Lab → · Contrast checker → · Palette generator →

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