#B270ED#B270ED

#B270ED is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.8% C 0.186 H 306.4°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#B270ED
RGBrgb(178, 112, 237)
HSLhsl(272, 78%, 68%)
HSVhsv(272, 53%, 93%)
CMYKcmyk(24.9%, 52.7%, 0%, 7.1%)
CIE-LABlab(59.13, 49.09, -53.36)
CIE-LCHlch(59.13, 72.51, 312.61°)
OKLaboklab(66.82% 0.1106 -0.15)
OKLCHoklch(66.82% 0.186 306.4)
XYZxyz(39.4372, 27.1681, 83.2707)
Luminance0.2717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B270ED #ABED70
analogous
#7370ED #B270ED #ED70E9
triadic
#B270ED #EDB270 #70EDB2
tetradic
#B270ED #ED7370 #ABED70 #70E9ED
square
#B270ED #ED7370 #ABED70 #70E9ED
split-complementary
#B270ED #E9ED70 #70ED73
monochromatic
#7619C9 #953AE6 #B270ED #CFA6F4 #EDDDFB

Accessibility & contrast

On white

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

On black

6.43
#B270ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B270ED
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B270ED#FFFFFF#000000##000000
##B270ED1.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#488CF1
Deuteranopia (green-blind)
#5D8FEA
Tritanopia (blue-blind)
#A987A4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b270ed;
/* rgb */ color: rgb(178, 112, 237);
/* oklch */ color: oklch(66.8% 0.186 306.4);
Tailwind
colors: {
  custom: {
    50: '#cc9bf3',
    500: '#b270ed',
    950: '#000000',
  },
}
SCSS
$custom: #b270ed;
$custom-light: #cc9bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#b270ed",
  "rgb": {
    "r": 178,
    "g": 112,
    "b": 237
  },
  "hsl": {
    "h": 271.68,
    "s": 77.64,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66823,
    "c": 0.1863,
    "h": 306.4
  },
  "luminance": 0.27168
}

Semantic roles & 50–950 ramp

primary
#B270ED
secondary
#DBEFCA
accent
#DA0C6D
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B270ED

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

Preview Lab → · Contrast checker → · Palette generator →

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