#B270DF#B270DF

#B270DF is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.0% C 0.170 H 310.0°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#B270DF
RGBrgb(178, 112, 223)
HSLhsl(276, 63%, 66%)
HSVhsv(276, 50%, 87%)
CMYKcmyk(20.2%, 49.8%, 0%, 12.5%)
CIE-LABlab(58.40, 45.95, -46.71)
CIE-LCHlch(58.40, 65.52, 314.53°)
OKLaboklab(66.04% 0.1094 -0.1305)
OKLCHoklch(66.04% 0.17 310)
XYZxyz(37.4711, 26.3817, 72.9159)
Luminance0.2638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B270DF #9DDF70
analogous
#7A70DF #B270DF #DF70D4
triadic
#B270DF #DFB270 #70DFB2
tetradic
#B270DF #DF7A70 #9DDF70 #70D4DF
square
#B270DF #DF7A70 #9DDF70 #70D4DF
split-complementary
#B270DF #D4DF70 #70DF7A
monochromatic
#7727AE #973ED4 #B270DF #CDA2EA #E8D4F5

Accessibility & contrast

On white

3.35
#B270DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#B270DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B270DF
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B270DF#FFFFFF#000000##000000
##B270DF1.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5389E3
Deuteranopia (green-blind)
#678EDC
Tritanopia (blue-blind)
#AC829D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b270df;
/* rgb */ color: rgb(178, 112, 223);
/* oklch */ color: oklch(66.0% 0.170 310.0);
Tailwind
colors: {
  custom: {
    50: '#cb9be9',
    500: '#b270df',
    950: '#000000',
  },
}
SCSS
$custom: #b270df;
$custom-light: #cb9be9;
$custom-dark: #000000;
JSON
{
  "hex": "#b270df",
  "rgb": {
    "r": 178,
    "g": 112,
    "b": 223
  },
  "hsl": {
    "h": 275.676,
    "s": 63.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.66043,
    "c": 0.17031,
    "h": 310
  },
  "luminance": 0.26381
}

Semantic roles & 50–950 ramp

primary
#B270DF
secondary
#D2E8C3
accent
#CB1A62
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B270DF

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

Preview Lab → · Contrast checker → · Palette generator →

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