#7230B6#7230B6

#7230B6 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.3% C 0.198 H 301.5°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#7230B6
RGBrgb(114, 48, 182)
HSLhsl(270, 58%, 45%)
HSVhsv(270, 74%, 71%)
CMYKcmyk(37.4%, 73.6%, 0%, 28.6%)
CIE-LABlab(36.12, 53.93, -59.26)
CIE-LCHlch(36.12, 80.13, 312.30°)
OKLaboklab(47.35% 0.1038 -0.169)
OKLCHoklch(47.35% 0.198 301.5)
XYZxyz(16.4378, 9.0686, 45.1313)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7230B6 #74B630
analogous
#3031B6 #7230B6 #B530B6
triadic
#7230B6 #B67230 #30B672
tetradic
#7230B6 #B63031 #74B630 #30B6B5
square
#7230B6 #B63031 #74B630 #30B6B5
split-complementary
#7230B6 #B6B530 #31B630
monochromatic
#351655 #542386 #7230B6 #9152D1 #B082DE

Accessibility & contrast

On white

7.46
#7230B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#7230B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7230B6
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7230B6#FFFFFF#000000##FFFFFF
##7230B61.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BA
Deuteranopia (green-blind)
#0054B3
Tritanopia (blue-blind)
#635270
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7230b6;
/* rgb */ color: rgb(114, 48, 182);
/* oklch */ color: oklch(47.3% 0.198 301.5);
Tailwind
colors: {
  custom: {
    50: '#a06fcd',
    500: '#7230b6',
    950: '#000000',
  },
}
SCSS
$custom: #7230b6;
$custom-light: #a06fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#7230b6",
  "rgb": {
    "r": 114,
    "g": 48,
    "b": 182
  },
  "hsl": {
    "h": 269.552,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47345,
    "c": 0.19836,
    "h": 301.5
  },
  "luminance": 0.09069
}

Semantic roles & 50–950 ramp

primary
#7230B6
secondary
#A1C77B
accent
#E14695
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #7230B6

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

Preview Lab → · Contrast checker → · Palette generator →

#7230B6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva